Skip to content

Commit 7a64a1c

Browse files
committed
Reduce the default number of epochs to retain beacon states in state cache to 8
1 parent 457246d commit 7a64a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fork_choice_store/src/store_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub const DEFAULT_CACHE_LOCK_TIMEOUT_MILLIS: u64 = 1500;
1010
pub struct StoreConfig {
1111
#[derivative(Default(value = "32"))]
1212
pub max_empty_slots: u64,
13-
#[derivative(Default(value = "64"))]
13+
#[derivative(Default(value = "8"))]
1414
pub max_epochs_to_retain_states_in_cache: u64,
1515
#[derivative(Default(value = "Duration::from_millis(DEFAULT_CACHE_LOCK_TIMEOUT_MILLIS)"))]
1616
pub state_cache_lock_timeout: Duration,

0 commit comments

Comments
 (0)