Skip to content

Commit 2ee89f3

Browse files
committed
fix: set default to 1600 slots
1 parent fa5f31f commit 2ee89f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/hermes/server/src/config/cache.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ pub struct Options {
1010
/// Higher values increase memory usage but allow access to more historical data
1111
/// without falling back to Benchmarks.
1212
///
13-
/// Default is 2000 slots, which gives ~13 minutes of cached updates.
13+
/// Default is 1600 slots, which gives 640 seconds of cached updates.
1414
#[arg(long = "cache-size-slots")]
1515
#[arg(env = "CACHE_SIZE_SLOTS")]
16-
#[arg(default_value = "2000")]
16+
#[arg(default_value = "1600")]
1717
pub size_slots: u64,
1818
}

0 commit comments

Comments
 (0)