From 8868c35e95acbe6d4918b7be9a66a1115999e54b Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 28 Dec 2022 13:53:36 -0800 Subject: [PATCH] comment --- deferred-rate-limiter/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/deferred-rate-limiter/src/lib.rs b/deferred-rate-limiter/src/lib.rs index 2543b0be..f14fd4e5 100644 --- a/deferred-rate-limiter/src/lib.rs +++ b/deferred-rate-limiter/src/lib.rs @@ -44,6 +44,7 @@ where // TODO: time to live is not exactly right. we want this ttl counter to start only after redis is down. this works for now // TODO: what do these weigh? + // TODO: allow skipping max_capacity let local_cache = Cache::builder() .time_to_live(Duration::from_secs(ttl)) .max_capacity(cache_size)