From edaa820bec6811bdcead4815992aec61aaaefd52 Mon Sep 17 00:00:00 2001 From: low012 Date: Mon, 28 Nov 2005 21:42:01 +0000 Subject: [PATCH] resubmitting Allos patch after accidentally removing it git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1137 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/IndexCreateIndexingQueue_p.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htroot/IndexCreateIndexingQueue_p.java b/htroot/IndexCreateIndexingQueue_p.java index d95945bd05..0c11fe944f 100644 --- a/htroot/IndexCreateIndexingQueue_p.java +++ b/htroot/IndexCreateIndexingQueue_p.java @@ -140,7 +140,10 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve entryList.addAll(switchboard.sbQueue.list(0)); } - for (int i = 0; i < entryList.size(); i++) { + int count=entryList.size(); + if(count>100)count=100; + for (int i = 0; i < count; i++) { + boolean inProcess = i < inProcessCount; pcentry = (plasmaSwitchboardQueue.Entry) entryList.get(i); long entrySize = pcentry.size();