Skip to content

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

*) Bugfix of "There are xxx entries in the crawler queue. Showing 0 most recent entries" Bug. see: http://www.yacy-forum.de/viewtopic.php?t=338 see: http://www.yacy-forum.de/viewtopic.php?p=2552

theli014b139c730c
diff --git a/htroot/IndexCreate_p.java b/htroot/IndexCreate_p.java
index 7cc992462..efc269194 100644
--- a/htroot/IndexCreate_p.java
+++ b/htroot/IndexCreate_p.java
@@ -375,12 +375,13 @@ public class IndexCreate_p {
prop.put("loader-set_list", i );
}
- if (crawlerListSize == 0) {
+ int localStackSize = switchboard.noticeURL.localStackSize();
+ if (localStackSize == 0) {
prop.put("crawler-queue", 0);
} else {
prop.put("crawler-queue", 1);
plasmaCrawlNURL.entry[] crawlerList = switchboard.noticeURL.localTop(20);
- prop.put("crawler-queue_num", crawlerListSize);//num Entries
+ prop.put("crawler-queue_num", localStackSize);//num Entries
prop.put("crawler-queue_show-num", crawlerList.length); //showin sjow-num most recent
plasmaCrawlNURL.entry urle;
dark = true;