Move confirmation processing on to worker threads rather than io threads. (#4634)
This commit is contained in:
parent
37dbc3c778
commit
7e23de0ae2
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ void nano::election::confirm_once (nano::unique_lock<nano::mutex> & lock_a)
|
|||
|
||||
lock_a.unlock ();
|
||||
|
||||
node.background ([node_l = node.shared (), status_l, confirmation_action_l = confirmation_action] () {
|
||||
node.workers.push_task ([node_l = node.shared (), status_l, confirmation_action_l = confirmation_action] () {
|
||||
node_l->process_confirmed (status_l);
|
||||
|
||||
if (confirmation_action_l)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue