add 'drives' to AccountsIndexConfig (#19989)
This commit is contained in:
committed by
GitHub
parent
f500c99a6d
commit
4e038e94fd
@ -1912,6 +1912,15 @@ fn main() {
|
||||
if let Some(bins) = value_t!(matches, "accounts_index_bins", usize).ok() {
|
||||
accounts_index_config.bins = Some(bins);
|
||||
}
|
||||
|
||||
{
|
||||
let mut accounts_index_paths = vec![]; // will be option
|
||||
if accounts_index_paths.is_empty() {
|
||||
accounts_index_paths = vec![ledger_path.join("accounts_index")];
|
||||
}
|
||||
accounts_index_config.drives = Some(accounts_index_paths);
|
||||
}
|
||||
|
||||
let accounts_db_config = Some(AccountsDbConfig {
|
||||
index: Some(accounts_index_config),
|
||||
accounts_hash_cache_path: Some(ledger_path.clone()),
|
||||
|
Reference in New Issue
Block a user