Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Revert "Revert "reclaims unref accounts from index (#16838) (#17005)""
Browse files Browse the repository at this point in the history
This reverts commit b56e663.
  • Loading branch information
jeffwashington authored Aug 25, 2021
1 parent 45e3cd3 commit 796fcbf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,9 @@ impl AccountsDb {
// Don't reset from clean, since the pubkeys in those stores may need to be unref'ed
// and those stores may be used for background hashing.
let reset_accounts = false;
self.handle_reclaims(&reclaims, None, false, None, reset_accounts);
let mut reclaim_result = ReclaimResult::default();
let reclaim_result = Some(&mut reclaim_result);
self.handle_reclaims(&reclaims, None, false, reclaim_result, reset_accounts);

reclaims_time.stop();

Expand Down

0 comments on commit 796fcbf

Please sign in to comment.