*) 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

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@122 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent f9c7deca2e
commit 014b139c73

@ -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;

Loading…
Cancel
Save