Lower recycle store count (#14429)

Too many stores can cause swap usage which
is detrimental to account store times.
This commit is contained in:
sakridge
2021-01-05 12:21:17 -08:00
committed by GitHub
parent ecde98401b
commit 53d65009a0

View File

@ -56,7 +56,7 @@ const PAGE_SIZE: u64 = 4 * 1024;
pub const DEFAULT_FILE_SIZE: u64 = PAGE_SIZE * 1024;
pub const DEFAULT_NUM_THREADS: u32 = 8;
pub const DEFAULT_NUM_DIRS: u32 = 4;
const MAX_RECYCLE_STORES: usize = 5000;
const MAX_RECYCLE_STORES: usize = 1000;
const STORE_META_OVERHEAD: usize = 256;
lazy_static! {