Drops the shrink_candidate_slots lock after done inserting (#33459)

This commit is contained in:
Brooks 2023-09-29 12:58:55 -04:00 committed by GitHub
parent b81ff5d654
commit 0e9e91c65e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -8229,6 +8229,7 @@ impl AccountsDb {
for slot in new_shrink_candidates {
shrink_candidate_slots.insert(slot);
}
drop(shrink_candidate_slots);
measure.stop();
self.clean_accounts_stats
.remove_dead_accounts_shrink_us