From 345ec75a36ef5e9d3ddcc7c23d3fcaed1e7af535 Mon Sep 17 00:00:00 2001 From: John Sully Date: Mon, 19 Jul 2021 18:01:39 +0000 Subject: [PATCH] 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 --- src/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.cpp b/src/db.cpp index 98b70574d..56556ff7f 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -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); }