Skip to content

Commit

Permalink
Notify condition after successful response
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Feb 24, 2024
1 parent a80dc1c commit c2220b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nano/node/repcrawler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,9 @@ bool nano::rep_crawler::process (std::shared_ptr<nano::vote> const & vote, std::
// TODO: Track query response time

responses.push_back ({ channel, vote });

queries.erase (info);

condition.notify_all ();
return true;
}
}
Expand Down

0 comments on commit c2220b8

Please sign in to comment.