mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 13:54:44 +00:00
Configurable diff buffer cache size (#4420)
This commit is contained in:
@@ -390,6 +390,11 @@ pub fn get_config<E: EthSpec>(
|
||||
if let Some(state_cache_size) = clap_utils::parse_optional(cli_args, "state-cache-size")? {
|
||||
client_config.store.state_cache_size = state_cache_size;
|
||||
}
|
||||
if let Some(diff_buffer_cache_size) =
|
||||
clap_utils::parse_optional(cli_args, "diff-buffer-cache-size")?
|
||||
{
|
||||
client_config.store.diff_buffer_cache_size = diff_buffer_cache_size;
|
||||
}
|
||||
if let Some(compression_level) = clap_utils::parse_optional(cli_args, "compression-level")? {
|
||||
client_config.store.compression_level = compression_level;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user