Author: toad
Date: 2007-08-22 23:16:29 +0000 (Wed, 22 Aug 2007)
New Revision: 14848
Modified:
trunk/freenet/src/freenet/node/LocationManager.java
Log:
Double the swap resetting interval to make resetting happen less frequently.
Modified: trunk/freenet/src/freenet/node/LocationManager.java
===================================================================
--- trunk/freenet/src/freenet/node/LocationManager.java 2007-08-22 23:15:49 UTC
(rev 14847)
+++ trunk/freenet/src/freenet/node/LocationManager.java 2007-08-22 23:16:29 UTC
(rev 14848)
@@ -51,7 +51,7 @@
static final int TIMEOUT = 60*1000;
static final int SWAP_MAX_HTL = 10;
/** Number of swap evaluations, either incoming or outgoing, between
resetting our location. */
- static final int SWAP_RESET = 2000;
+ static final int SWAP_RESET = 4000;
private static boolean logMINOR;
final RandomSource r;
final SwapRequestSender sender;