acct idx tests use 2 bins instead of 8k (#19996)
This commit is contained in:
parent
e9b066d497
commit
bd86f41e18
|
@ -32,8 +32,8 @@ use thiserror::Error;
|
|||
|
||||
pub const ITER_BATCH_SIZE: usize = 1000;
|
||||
pub const BINS_DEFAULT: usize = 8192;
|
||||
pub const BINS_FOR_TESTING: usize = BINS_DEFAULT;
|
||||
pub const BINS_FOR_BENCHMARKS: usize = BINS_DEFAULT;
|
||||
pub const BINS_FOR_TESTING: usize = 2; // we want > 1, but each bin is a few disk files with a disk based index, so fewer is better
|
||||
pub const BINS_FOR_BENCHMARKS: usize = 2;
|
||||
pub const FLUSH_THREADS_TESTING: usize = 1;
|
||||
pub const ACCOUNTS_INDEX_CONFIG_FOR_TESTING: AccountsIndexConfig = AccountsIndexConfig {
|
||||
bins: Some(BINS_FOR_TESTING),
|
||||
|
|
Loading…
Reference in New Issue