Skip to content

Commit 3d676d7

Browse files
committed
chore: fix
1 parent a638f05 commit 3d676d7

File tree

1 file changed

+4
-2
lines changed
  • rust/cubestore/cubestore/src/config

1 file changed

+4
-2
lines changed

rust/cubestore/cubestore/src/config/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,9 +1430,11 @@ impl Config {
14301430
),
14311431
cachestore_cache_eviction_proactive_size_threshold: env_parse_duration(
14321432
"CUBESTORE_CACHE_EVICTION_PROACTIVE_SIZE_THRESHOLD",
1433-
5,
1433+
// 256 kb
1434+
256 << 10,
14341435
Some(cachestore_cache_max_entry_size),
1435-
Some(0),
1436+
// It's not allowed to be less than 128 kb, because it can proactively evict refresh keys
1437+
Some(128 << 10),
14361438
),
14371439
cachestore_cache_eviction_proactive_ttl_threshold: env_parse_duration(
14381440
"CUBESTORE_CACHE_EVICTION_PROACTIVE_TTL_THRESHOLD",

0 commit comments

Comments
 (0)