comment
This commit is contained in:
parent
68183c34c7
commit
8868c35e95
|
@ -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: 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: what do these weigh?
|
||||||
|
// TODO: allow skipping max_capacity
|
||||||
let local_cache = Cache::builder()
|
let local_cache = Cache::builder()
|
||||||
.time_to_live(Duration::from_secs(ttl))
|
.time_to_live(Duration::from_secs(ttl))
|
||||||
.max_capacity(cache_size)
|
.max_capacity(cache_size)
|
||||||
|
|
Loading…
Reference in New Issue