more logging for DHTrule

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6533 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 15 years ago
parent 57d729e377
commit 9bee0ac780

@ -194,6 +194,7 @@ public class MemoryControl {
final long t = System.currentTimeMillis();
if(prevDHTtreshold + 11L /* minutes */ * 60000L > t) {
DHTtresholdCount++;
log.logInfo("checkDHTrule: below treshold; tresholdCount: " + DHTtresholdCount);
if(DHTtresholdCount > 3 /* occurencies - 1 */) allowDHT = false;
}
else DHTtresholdCount = 1;

Loading…
Cancel
Save