Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) check size of indexing-queue and crawler pool before processing remote triggered crawl jobs
thelic9e6b5e39152
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.javaindex 59ae31abf..79f1bbad5 100644--- a/source/de/anomic/plasma/plasmaSwitchboard.java+++ b/source/de/anomic/plasma/plasmaSwitchboard.java@@ -1233,6 +1233,16 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser//log.logDebug("GlobalCrawl: queue is empty");return false;}+ if (sbQueue.size() >= indexingSlots) {+ log.logFine("GlobalCrawl: too many processes in indexing queue, dismissed (" ++ "sbQueueSize=" + sbQueue.size() + ")");+ return false;+ }+ if (cacheLoader.size() >= crawlSlots) {+ log.logFine("GlobalCrawl: too many processes in loader queue, dismissed (" ++ "cacheLoader=" + cacheLoader.size() + ")");+ return false;+ }if (onlineCaution()) {log.logFine("GlobalCrawl: online caution, omitting processing");return false;