Don't increase dhtTransferIndexCount when the last transferred index was smaller

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2064 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hermens 19 years ago
parent c67125d8d3
commit 51e3bb576f

@ -2117,7 +2117,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
if ((System.currentTimeMillis() - starttime) > (10000 * peerCount)) {
dhtTransferIndexCount--;
} else {
dhtTransferIndexCount++;
if (dhtTransferChunk.indexCount() >= dhtTransferIndexCount) dhtTransferIndexCount++;
}
if (dhtTransferIndexCount < dhtTransferIndexMinimum) dhtTransferIndexCount = dhtTransferIndexMinimum;

Loading…
Cancel
Save