diff --git a/src/llmq/quorums.cpp b/src/llmq/quorums.cpp index a5f58c922a..49c6fcd215 100644 --- a/src/llmq/quorums.cpp +++ b/src/llmq/quorums.cpp @@ -824,7 +824,7 @@ void CQuorumManager::StartCachePopulatorThread(const CQuorumCPtr pQuorum) const // when then later some other thread tries to get keys, it will be much faster workerPool.push([pQuorum, t, this](int threadId) { for (const auto i : irange::range(pQuorum->members.size())) { - if (!quorumThreadInterrupt) { + if (quorumThreadInterrupt) { break; } if (pQuorum->qc->validMembers[i]) {