mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-18 08:36:07 -04:00
*) Bugfix for distribution. Incorrect behavior if peerCount == selectedCount
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2098 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
@ -2158,7 +2158,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
|
||||
// starting up multiple DHT transfer threads
|
||||
Iterator seedIter = seeds.iterator();
|
||||
ArrayList transfer = new ArrayList(peerCount);
|
||||
while (hc1 < peerCount && seedIter.hasNext()) {
|
||||
while (hc1 < peerCount && (transfer.size() > 0 || seedIter.hasNext())) {
|
||||
|
||||
// starting up some transfer threads
|
||||
int transferThreadCount = transfer.size();
|
||||
|
Reference in New Issue
Block a user