Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

emergency fix for crawler: this will otherwise cause loss of complete crawl queue if latency of remote system is too low

orbiter268a36aaffb8
diff --git a/source/net/yacy/crawler/Balancer.java b/source/net/yacy/crawler/Balancer.java
index 62421e9ed..05f926f1f 100644
--- a/source/net/yacy/crawler/Balancer.java
+++ b/source/net/yacy/crawler/Balancer.java
@@ -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);