From 1214615185949a90fb7cca166acd5b6a00fb7e9d Mon Sep 17 00:00:00 2001 From: orbiter Date: Wed, 9 Mar 2011 17:04:34 +0000 Subject: [PATCH] fix for 'invisible entry', see http://forum.yacy-websuche.de/viewtopic.php?p=22133#p22133 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7576 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/crawler/CrawlQueues.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/de/anomic/crawler/CrawlQueues.java b/source/de/anomic/crawler/CrawlQueues.java index 65512a12e..9b0d795f1 100644 --- a/source/de/anomic/crawler/CrawlQueues.java +++ b/source/de/anomic/crawler/CrawlQueues.java @@ -210,10 +210,11 @@ public class CrawlQueues { ", limitCrawlJobSize()=" + limitCrawlJobSize() + ", cluster.mode=" + sb.getConfig(SwitchboardConstants.CLUSTER_MODE, "") + ", robinsonMode=" + ((sb.isRobinsonMode()) ? "on" : "off")); } - - String queueCheck = loadIsPossible(NoticedURL.StackType.CORE); - if (queueCheck != null) { - if (log.isFine()) log.logFine("omitting de-queue/local: " + queueCheck); + + String queueCheckCore = loadIsPossible(NoticedURL.StackType.CORE); + String queueCheckNoload = loadIsPossible(NoticedURL.StackType.NOLOAD); + if (queueCheckCore != null && queueCheckNoload != null) { + if (log.isFine()) log.logFine("omitting de-queue/local: " + queueCheckCore + ":" + queueCheckNoload); return false; }