mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
added no-load queues to the crawler monitor
This commit is contained in:
parent
1c5deebf81
commit
f214f6ebb4
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user