Skip to content

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

Increase defaults for the DHT Recieve Limits to prevent "busy" states. see

fuchsice0bb1dc8af8
diff --git a/htroot/yacy/transferRWI.java b/htroot/yacy/transferRWI.java
index f8004c58a..bbf831975 100644
--- a/htroot/yacy/transferRWI.java
+++ b/htroot/yacy/transferRWI.java
@@ -83,7 +83,7 @@ public final class transferRWI {
boolean granted = sb.getConfig("allowReceiveIndex", "false").equals("true");
boolean blockBlacklist = sb.getConfig("indexReceiveBlockBlacklist", "false").equals("true");
boolean checkLimit = sb.getConfigBool("indexDistribution.transferRWIReceiptLimitEnabled", true);
- final long cachelimit = sb.getConfigLong("indexDistribution.dhtReceiptLimit", 1000);
+ final long cachelimit = sb.getConfigLong("indexDistribution.dhtReceiptLimit", 10000);
final yacySeed otherPeer = yacyCore.seedDB.get(iam);
final String otherPeerName = iam + ":" + ((otherPeer == null) ? "NULL" : (otherPeer.getName() + "/" + otherPeer.getVersion()));
diff --git a/yacy.init b/yacy.init
index 2105e6870..92a7a76fe 100644
--- a/yacy.init
+++ b/yacy.init
@@ -786,7 +786,7 @@ indexDistribution.transferRWIReceiptLimitEnabled = true
# defines the word cache for DHT reaches this level
# the peer reports itself as busy
-indexDistribution.dhtReceiptLimit = 1000
+indexDistribution.dhtReceiptLimit = 10000
# Distribution of Citation-Reference (CR-) files
# The distribution is done in two steps: