From 4013049a8e0b09e1569a1046b3c2e46436808e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Mon, 26 Sep 2022 17:07:11 +0200 Subject: [PATCH] Do not wait for vote processor during AEC processing loop (#3953) --- nano/node/active_transactions.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/nano/node/active_transactions.cpp b/nano/node/active_transactions.cpp index 282fa268..c64a34cf 100644 --- a/nano/node/active_transactions.cpp +++ b/nano/node/active_transactions.cpp @@ -338,15 +338,6 @@ void nano::active_transactions::request_loop () while (!stopped && !node.flags.disable_request_loop) { - // If many votes are queued, ensure at least the currently active ones finish processing - lock.unlock (); - condition.notify_all (); - if (node.vote_processor.half_full ()) - { - node.vote_processor.flush (); - } - lock.lock (); - auto const stamp_l = std::chrono::steady_clock::now (); request_confirm (lock);