Skip to content

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

*) renaming indexDistribution.dhtReceiptLimitEnabled property to indexDistribution.transferRWIReceiptLimitEnabled so that the default value is taken over by all peers

thelic7b6389ca189
diff --git a/htroot/yacy/transferRWI.java b/htroot/yacy/transferRWI.java
index 273e23873..a60db4c8e 100644
--- a/htroot/yacy/transferRWI.java
+++ b/htroot/yacy/transferRWI.java
@@ -80,7 +80,7 @@ public final class transferRWI {
byte[] indexes = post.get("indexes", "").getBytes(); // the indexes, as list of word entries
boolean granted = sb.getConfig("allowReceiveIndex", "false").equals("true");
boolean blockBlacklist = sb.getConfig("indexReceiveBlockBlacklist", "false").equals("true");
- boolean checkLimit = sb.getConfigBool("indexDistribution.dhtReceiptLimitEnabled", true);
+ boolean checkLimit = sb.getConfigBool("indexDistribution.transferRWIReceiptLimitEnabled", true);
final long cachelimit = sb.getConfigLong("indexDistribution.dhtReceiptLimit", 1000);
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 a445c815a..322d3ce7c 100644
--- a/yacy.init
+++ b/yacy.init
@@ -679,7 +679,7 @@ indexDistribution.startChunkSize = 50
# defines if the peer should reject incoming index transfer
# request if a given limit is reached
-indexDistribution.dhtReceiptLimitEnabled = true
+indexDistribution.transferRWIReceiptLimitEnabled = true
# defines the word cache for DHT reaches this level
# the peer reports itself as busy