Skip to content

Commit

Permalink
reclaims unref accounts from index
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwashington committed Apr 26, 2021
1 parent aeff911 commit cc607e9
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 @@ -4794,7 +4794,9 @@ impl AccountsDb {
//
// From 1) and 2) we guarantee passing Some(slot), true is safe
let mut handle_reclaims_time = Measure::start("handle_reclaims");
self.handle_reclaims(&reclaims, Some(slot), true, 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);
handle_reclaims_time.stop();
self.stats
.store_handle_reclaims
Expand Down

0 comments on commit cc607e9

Please sign in to comment.