mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-25 05:05:03 +00:00
Increase default rocksdb cache (#10659)
This commit is contained in:
1 parent
e9860b9c1e
commit
c33fb8db76
2 files changed
+2
-2
No files matched your search
@@ -485,7 +485,7 @@ pub trait CliConfiguration<DCV: DefaultConfigurationValues = ()>: Sized {
|
||||
let config_dir = base_path.config_dir(chain_spec.id());
|
||||
let net_config_dir = config_dir.join(DEFAULT_NETWORK_CONFIG_PATH);
|
||||
let client_id = C::client_id();
|
||||
let database_cache_size = self.database_cache_size()?.unwrap_or(128);
|
||||
let database_cache_size = self.database_cache_size()?.unwrap_or(1024);
|
||||
let database = self.database()?.unwrap_or(Database::RocksDb);
|
||||
let node_key = self.node_key(&net_config_dir)?;
|
||||
let role = self.role(is_dev)?;
|
||||
|
||||
Reference in new issue
Block a user