mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 13:07:56 +00:00
Give state_col 90% of memory budget and fix other col calculation (#4208)
* Give `state_col` 90% of memory budget and fix other col calculation * Set default db cache size to 1024
This commit is contained in:
committed by
Robert Habermeier
parent
fdbfd0b150
commit
9ead395bff
@@ -733,7 +733,7 @@ where
|
||||
|
||||
config.database = DatabaseConfig::Path {
|
||||
path: config.in_chain_config_dir(DEFAULT_DB_CONFIG_PATH).expect("We provided a base_path."),
|
||||
cache_size: cli.database_cache_size,
|
||||
cache_size: Some(cli.database_cache_size),
|
||||
};
|
||||
config.state_cache_size = cli.state_cache_size;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user