Do not wait for vote processor during AEC processing loop (#3953)
This commit is contained in:
parent
9650a8dda3
commit
4013049a8e
1 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue