Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added no-load queues to the crawler monitor
Michael Peter Christenf214f6ebb451
diff --git a/htroot/Crawler_p.html b/htroot/Crawler_p.htmlindex ebf49c09b..df78753a1 100644--- a/htroot/Crawler_p.html+++ b/htroot/Crawler_p.html@@ -52,6 +52,16 @@</td><td align="right">unlimited</td></tr>+ <tr class="TableCellLight">+ <td align="left">No-Load Crawler</td>+ <td align="right"><span id="noloadcrawlerqueuesize">#[noloadCrawlSize]#</span></td>+ <td>+ <a href="" title="" id="noloadcrawlerstateA">+ <img src="" alt="" style="width:12px; height:12px;" id="noloadcrawlerstateIMG" />+ </a>+ </td>+ <td align="right">unlimited</td>+ </tr><tr class="TableCellLight"><td align="left">Loader</td><td align="right"><span id="loaderqueuesize">#[loaderSize]#</span></td>diff --git a/htroot/js/Crawler.js b/htroot/js/Crawler.jsindex 9edd16385..ef0e861f5 100644--- a/htroot/js/Crawler.js+++ b/htroot/js/Crawler.js@@ -168,6 +168,13 @@ function handleQueues(){document.getElementById("remotecrawlerqueuesize").firstChild.nodeValue=remotecrawlerqueue_size;putQueueState("remotecrawler", remotecrawlerqueue_state);updateTable(remotecrawlerqueue, "remote crawler");++ noloadcrawlerqueue=getFirstChild(xml, "noloadcrawlerqueue");+ noloadcrawlerqueue_size=getValue(getFirstChild(noloadcrawlerqueue, "size"));+ noloadcrawlerqueue_state=getValue(getFirstChild(noloadcrawlerqueue, "state"));+ document.getElementById("noloadcrawlerqueuesize").firstChild.nodeValue=noloadcrawlerqueue_size;+ putQueueState("noloadcrawler", noloadcrawlerqueue_state);+}queueLoaded=true;}