We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a638f05 commit 3d676d7Copy full SHA for 3d676d7
rust/cubestore/cubestore/src/config/mod.rs
@@ -1430,9 +1430,11 @@ impl Config {
1430
),
1431
cachestore_cache_eviction_proactive_size_threshold: env_parse_duration(
1432
"CUBESTORE_CACHE_EVICTION_PROACTIVE_SIZE_THRESHOLD",
1433
- 5,
+ // 256 kb
1434
+ 256 << 10,
1435
Some(cachestore_cache_max_entry_size),
- Some(0),
1436
+ // It's not allowed to be less than 128 kb, because it can proactively evict refresh keys
1437
+ Some(128 << 10),
1438
1439
cachestore_cache_eviction_proactive_ttl_threshold: env_parse_duration(
1440
"CUBESTORE_CACHE_EVICTION_PROACTIVE_TTL_THRESHOLD",
0 commit comments