don't limit to thread pool when cleaning on startup (#17317)
This commit is contained in:
committed by
GitHub
parent
dd13a31a5a
commit
0486df02ba
@@ -154,7 +154,7 @@ impl SnapshotRequestHandler {
|
||||
// accounts that were included in the bank delta hash when the bank was frozen,
|
||||
// and if we clean them here, the newly created snapshot's hash may not match
|
||||
// the frozen hash.
|
||||
snapshot_root_bank.clean_accounts(true);
|
||||
snapshot_root_bank.clean_accounts(true, false);
|
||||
clean_time.stop();
|
||||
|
||||
if accounts_db_caching_enabled {
|
||||
@@ -372,7 +372,7 @@ impl AccountsBackgroundService {
|
||||
// slots >= bank.slot()
|
||||
bank.force_flush_accounts_cache();
|
||||
}
|
||||
bank.clean_accounts(true);
|
||||
bank.clean_accounts(true, false);
|
||||
last_cleaned_block_height = bank.block_height();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user