AcctIdx: consolidate to correct CondVar (#20017)
This commit is contained in:
committed by
GitHub
parent
55d9ff9899
commit
e6934e7247
@@ -397,6 +397,8 @@ impl<T: IndexValue> InMemAccountsIndex<T> {
|
||||
|
||||
pub fn set_bin_dirty(&self) {
|
||||
self.bin_dirty.store(true, Ordering::Release);
|
||||
// 1 bin dirty, so only need 1 thread to wake up if many could be waiting
|
||||
self.storage.wait_dirty_or_aged.notify_one();
|
||||
}
|
||||
|
||||
fn flush_internal(&self) {
|
||||
|
Reference in New Issue
Block a user