Querying local reps wasn't throttled properly (#4860)
This commit is contained in:
parent
50a7e30867
commit
8eefd013d7
1 changed files with 1 additions and 7 deletions
|
|
@ -209,13 +209,7 @@ void nano::rep_crawler::run ()
|
||||||
|
|
||||||
lock.unlock ();
|
lock.unlock ();
|
||||||
query (targets);
|
query (targets);
|
||||||
lock.lock ();
|
query (node.loopback_channel); // Query local representative
|
||||||
}
|
|
||||||
|
|
||||||
// Query local representative
|
|
||||||
{
|
|
||||||
lock.unlock ();
|
|
||||||
query (node.loopback_channel);
|
|
||||||
lock.lock ();
|
lock.lock ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue