From 45b191efee6ccbe6798782ab2825331db19fd16b Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Tue, 21 May 2024 12:42:13 -0400 Subject: [PATCH] Moar fixes --- limitador/src/storage/redis/redis_cached.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/limitador/src/storage/redis/redis_cached.rs b/limitador/src/storage/redis/redis_cached.rs index a2bd009e..0014ba88 100644 --- a/limitador/src/storage/redis/redis_cached.rs +++ b/limitador/src/storage/redis/redis_cached.rs @@ -531,13 +531,8 @@ mod tests { assert_eq!(c.hits(&counter), 2); } - flush_batcher_and_update_counters( - mock_client, - cached_counters.clone(), - partitioned, - 100, - ) - .await; + flush_batcher_and_update_counters(mock_client, cached_counters.clone(), partitioned, 100) + .await; let c = cached_counters.get(&counter).unwrap(); assert_eq!(c.hits(&counter), 8);