don't limit to thread pool when cleaning on startup (#17317)

This commit is contained in:
Jeff Washington (jwash)
2021-05-20 14:36:35 -05:00
committed by GitHub
parent dd13a31a5a
commit 0486df02ba
9 changed files with 78 additions and 70 deletions

View File

@@ -960,7 +960,7 @@ pub fn bank_to_snapshot_archive<P: AsRef<Path>, Q: AsRef<Path>>(
assert!(bank.is_complete());
bank.squash(); // Bank may not be a root
bank.force_flush_accounts_cache();
bank.clean_accounts(true);
bank.clean_accounts(true, false);
bank.update_accounts_hash();
bank.rehash(); // Bank accounts may have been manually modified by the caller