Skip to content

Commit

Permalink
Reduce the default number of epochs to retain beacon states in state …
Browse files Browse the repository at this point in the history
…cache to 8
  • Loading branch information
povi committed Feb 12, 2025
1 parent e5d869b commit 063f6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fork_choice_store/src/store_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub const DEFAULT_CACHE_LOCK_TIMEOUT_MILLIS: u64 = 1500;
pub struct StoreConfig {
#[derivative(Default(value = "32"))]
pub max_empty_slots: u64,
#[derivative(Default(value = "64"))]
#[derivative(Default(value = "8"))]
pub max_epochs_to_retain_states_in_cache: u64,
#[derivative(Default(value = "Duration::from_millis(DEFAULT_CACHE_LOCK_TIMEOUT_MILLIS)"))]
pub state_cache_lock_timeout: Duration,
Expand Down

0 comments on commit 063f6f1

Please sign in to comment.