Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

more logging for DHTrule

lotus9bee0ac780f7
diff --git a/source/net/yacy/kelondro/util/MemoryControl.java b/source/net/yacy/kelondro/util/MemoryControl.java
index 16a2a8037..b739a7731 100644
--- a/source/net/yacy/kelondro/util/MemoryControl.java
+++ b/source/net/yacy/kelondro/util/MemoryControl.java
@@ -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;