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

Commit

Permalink
v1.16: Drops the shrink_candidate_slots lock after done inserting (ba…
Browse files Browse the repository at this point in the history
…ckport of #33459) (#33466)

(cherry picked from commit 0e9e91c)

Co-authored-by: Brooks <[email protected]>
  • Loading branch information
mergify[bot] and brooksprumo authored Sep 29, 2023
1 parent 09702d6 commit 7953706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8067,6 +8067,7 @@ impl AccountsDb {

shrink_candidate_slots.insert(slot, store);
}
drop(shrink_candidate_slots);
measure.stop();
self.clean_accounts_stats
.remove_dead_accounts_shrink_us
Expand Down

0 comments on commit 7953706

Please sign in to comment.