From f214f6ebb451108b3d58e58cb9cc228603f45aee Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Sat, 7 Jan 2012 17:17:11 +0100 Subject: [PATCH] added no-load queues to the crawler monitor --- htroot/Crawler_p.html | 10 ++++++++++ htroot/js/Crawler.js | 7 +++++++ 2 files changed, 17 insertions(+) diff --git a/htroot/Crawler_p.html b/htroot/Crawler_p.html index ebf49c09b..df78753a1 100644 --- a/htroot/Crawler_p.html +++ b/htroot/Crawler_p.html @@ -52,6 +52,16 @@ unlimited + + No-Load Crawler + #[noloadCrawlSize]# + + + + + + unlimited + Loader #[loaderSize]# diff --git a/htroot/js/Crawler.js b/htroot/js/Crawler.js index 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; }