Skip to content

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

Merge branch 'master' of ssh://[email protected]/yacy/rc1.git

Michael Peter Christen2ee8cbeb2c97
diff --cc source/net/yacy/search/Switchboard.java
index a4cc76b07,8713de8eb..cd72ffb02
--- a/source/net/yacy/search/Switchboard.java
+++ b/source/net/yacy/search/Switchboard.java
@@@ -1273,21 -1538,21 +1538,22 @@@ public final class Switchboard extends
* @see #CRAWL_PROFILE_REMOTE hardcoded
* @see #CRAWL_PROFILE_SNIPPET_TEXT hardcoded
* @see #CRAWL_PROFILE_SNIPPET_MEDIA hardcoded
- * @return whether this method has done something or not (i.e. because the queues have been filled
- * or there are no profiles left to clean up)
- * @throws <b>InterruptedException</b> if the current thread has been interrupted, i.e. by the
- * shutdown procedure
+ * @return whether this method has done something or not (i.e. because the queues have been filled or
+ * there are no profiles left to clean up)
+ * @throws <b>InterruptedException</b> if the current thread has been interrupted, i.e. by the shutdown
+ * procedure
*/
-- public boolean cleanProfiles() throws InterruptedException {
- if ( getIndexingProcessorsQueueSize() > 0
- || this.crawlQueues.workerSize() > 0
- || this.crawlQueues.coreCrawlJobSize() > 0
- || this.crawlQueues.limitCrawlJobSize() > 0
- || this.crawlQueues.remoteTriggeredCrawlJobSize() > 0
- || (this.crawlStacker != null && !this.crawlStacker.isEmpty())
- || this.crawlQueues.noticeURL.notEmpty() ) {
++ public boolean cleanProfiles() throws InterruptedException {
+ if (getIndexingProcessorsQueueSize() > 0 ||
+ this.crawlQueues.workerSize() > 0 ||
+ this.crawlQueues.coreCrawlJobSize() > 0 ||
+ this.crawlQueues.limitCrawlJobSize() > 0 ||
+ this.crawlQueues.remoteTriggeredCrawlJobSize() > 0 ||
+ this.crawlQueues.noloadCrawlJobSize() > 0 ||
+ (this.crawlStacker != null && !this.crawlStacker.isEmpty()) ||
- this.crawlQueues.noticeURL.notEmpty())
++ this.crawlQueues.noticeURL.notEmpty()) {
return false;
+ }
return this.crawler.clear();
}