*) Bugfix for wrong index-queue size displayed on status page

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@883 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent 959eefbc4f
commit 45f55a6fad

@ -229,7 +229,7 @@ public class Status {
// Queue information // Queue information
final plasmaSwitchboard sb = (plasmaSwitchboard)env; final plasmaSwitchboard sb = (plasmaSwitchboard)env;
prop.put("indexingQueueSize", Integer.toString(sb.getThread("80_indexing").getJobCount())); prop.put("indexingQueueSize", Integer.toString(sb.getThread("80_indexing").getJobCount()+sb.indexingTasksInProcess.size()));
prop.put("indexingQueueMax", Integer.toString(plasmaSwitchboard.indexingSlots)); prop.put("indexingQueueMax", Integer.toString(plasmaSwitchboard.indexingSlots));
prop.put("loaderQueueSize", Integer.toString(sb.cacheLoader.size())); prop.put("loaderQueueSize", Integer.toString(sb.cacheLoader.size()));

Loading…
Cancel
Save