added no-load queues to the crawler monitor

This commit is contained in:
Michael Peter Christen 2012-01-07 17:17:11 +01:00
parent 1c5deebf81
commit f214f6ebb4
2 changed files with 17 additions and 0 deletions

View File

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

View File

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