mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
emergency fix for crawler: this will otherwise cause loss of complete
crawl queue if latency of remote system is too low
This commit is contained in:
parent
743e4878a8
commit
268a36aaff
|
@ -578,7 +578,7 @@ public class Balancer {
|
|||
Map.Entry<String, byte[]> hosthash;
|
||||
while (k.hasNext()) {
|
||||
hosthash = k.next();
|
||||
if (failoverCandidates.get(hosthash) > 2000) break; // thats too long; we want a second chance for this!
|
||||
//if (failoverCandidates.get(hosthash) > 2000) break; // thats too long; we want a second chance for this!
|
||||
besthost = hosthash.getKey();
|
||||
besturlhash = hosthash.getValue();
|
||||
removeHashFromDomainStacks(besthost, besturlhash);
|
||||
|
|
Loading…
Reference in New Issue
Block a user