Drops the shrink_candidate_slots lock after done inserting (#33459)
This commit is contained in:
parent
b81ff5d654
commit
0e9e91c65e
|
@ -8229,6 +8229,7 @@ impl AccountsDb {
|
||||||
for slot in new_shrink_candidates {
|
for slot in new_shrink_candidates {
|
||||||
shrink_candidate_slots.insert(slot);
|
shrink_candidate_slots.insert(slot);
|
||||||
}
|
}
|
||||||
|
drop(shrink_candidate_slots);
|
||||||
measure.stop();
|
measure.stop();
|
||||||
self.clean_accounts_stats
|
self.clean_accounts_stats
|
||||||
.remove_dead_accounts_shrink_us
|
.remove_dead_accounts_shrink_us
|
||||||
|
|
Loading…
Reference in New Issue