From ce0bb1dc8af88378099fd0d10761e857cf659dca Mon Sep 17 00:00:00 2001 From: fuchsi Date: Wed, 10 Oct 2007 10:07:16 +0000 Subject: [PATCH] Increase defaults for the DHT Recieve Limits to prevent "busy" states. see git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4155 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 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: