limiting the Number of Items displayed to 100 max.

http://www.yacy-forum.de/viewtopic.php?p=13275


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1131 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent c650b112ea
commit 38d915e24c

@ -140,7 +140,9 @@ public class IndexCreateIndexingQueue_p {
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();

Loading…
Cancel
Save