From c7b6389ca18980dfeba638fcc76b964a70df7811 Mon Sep 17 00:00:00 2001 From: theli Date: Mon, 7 Aug 2006 11:01:01 +0000 Subject: [PATCH] *) renaming indexDistribution.dhtReceiptLimitEnabled property to indexDistribution.transferRWIReceiptLimitEnabled so that the default value is taken over by all peers git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2356 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacy/transferRWI.java | 2 +- yacy.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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