mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-19 08:44:42 -04:00
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
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user