We need to free in order since the first big async free is likely the largest, so don't set the hipri bit
Former-commit-id: 76a9cefa94e0f446e12a690909cbda15d03ca211
This commit is contained in:
parent
88f5bf1d90
commit
345ec75a36
@ -3026,7 +3026,7 @@ void redisDbPersistentData::removeAllCachedValues()
|
||||
dictExpand(m_pdict, dictSize(dT)/2, false); // Make room for about half so we don't excessively rehash
|
||||
g_pserver->asyncworkqueue->AddWorkFunction([dT]{
|
||||
dictRelease(dT);
|
||||
}, true);
|
||||
}, false);
|
||||
} else {
|
||||
dictEmpty(m_pdict, nullptr);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user