- check can be disabled via property indexDistribution.dhtReceiptLimitEnabled
- upper bound can be configured via indexDistribution.dhtReceiptLimit
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2234 6c8d7289-2bf4-0310-a012-ef5d649a1542
sb.getLog().logInfo("Rejecting RWIs from peer "+otherPeerName+". We are too busy (buffersize="+sb.wordIndex.kSize()+").");
granted=false;// don't accept more words if there are too many words to flush
@ -171,7 +173,10 @@ public final class transferRWI {
sb.getLog().logInfo("Received "+received+" Words ["+wordhashes[0]+" .. "+wordhashes[received-1]+"]/"+avdist+" from "+otherPeerName+", processed in "+(System.currentTimeMillis()-startProcess)+" milliseconds, requesting "+unknownURL.size()+" URLs");
}
result="ok";
pause=(sb.wordIndex.kSize()<500)?0:60*sb.wordIndex.kSize();// estimation of necessary pause time
if(checkLimit){
pause=(sb.wordIndex.kSize()<500)?0:60*sb.wordIndex.kSize();// estimation of necessary pause time