don't start extra threads for shrink/clean/hash (#23858)
This commit is contained in:
committed by
GitHub
parent
911aa5bad3
commit
7b89222fde
@@ -1,6 +1,6 @@
|
||||
use {
|
||||
crate::{
|
||||
accounts_index_storage::AccountsIndexStorage,
|
||||
accounts_index_storage::{AccountsIndexStorage, Startup},
|
||||
ancestors::Ancestors,
|
||||
bucket_map_holder::{Age, BucketMapHolder},
|
||||
contains::Contains,
|
||||
@@ -1505,7 +1505,7 @@ impl<T: IndexValue> AccountsIndex<T> {
|
||||
iter.hold_range_in_memory(range, start_holding, thread_pool);
|
||||
}
|
||||
|
||||
pub fn set_startup(&self, value: bool) {
|
||||
pub fn set_startup(&self, value: Startup) {
|
||||
self.storage.set_startup(value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user