ConcurrentLog.fine("Balancer","no profile entry for handle "+crawlEntry.profileHandle());
if(log.isFine())log.fine("no profile entry for handle "+crawlEntry.profileHandle());
continuemainloop;
}
@ -432,7 +434,7 @@ public class HostQueue implements Balancer {
// in best case, this should never happen if the balancer works properly
// this is only to protection against the worst case, where the crawler could
// behave in a DoS-manner
ConcurrentLog.info("BALANCER","forcing crawl-delay of "+sleeptime+" milliseconds for "+crawlEntry.url().getHost()+": "+Latency.waitingRemainingExplain(crawlEntry.url(),robots,agent));
if(log.isInfo())log.info("forcing crawl-delay of "+sleeptime+" milliseconds for "+crawlEntry.url().getHost()+": "+Latency.waitingRemainingExplain(crawlEntry.url(),robots,agent));
longloops=sleeptime/1000;
longrest=sleeptime%1000;
if(loops<3){
@ -444,7 +446,7 @@ public class HostQueue implements Balancer {
// must be synchronized here to avoid 'takeover' moves from other threads which then idle the same time which would not be enough