From de7dc2c1f79a653d532f1ce213518560c944b628 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Mon, 13 Jul 2009 02:54:47 +0000 Subject: [PATCH] * Tunnels: Change the default variance from 1 to 0. Under the one-packet-enough theory, and the fact that most tunnels in a x+1 pool are of length x, variable lengths don't really help that much. Also, a default of 1 led to all sorts of problems with iMule/SAM, who was not setting the variance properties. This will affect exploratory tunnels for new users, and those that have never saved a change on configtunnels.jsp, and iMule users 1.4.5 and earlier. --- router/java/src/net/i2p/router/TunnelPoolSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/TunnelPoolSettings.java b/router/java/src/net/i2p/router/TunnelPoolSettings.java index bf7eb0638b..ceb3814a97 100644 --- a/router/java/src/net/i2p/router/TunnelPoolSettings.java +++ b/router/java/src/net/i2p/router/TunnelPoolSettings.java @@ -49,7 +49,7 @@ public class TunnelPoolSettings { // public static final int DEFAULT_REBUILD_PERIOD = 60*1000; public static final int DEFAULT_DURATION = 10*60*1000; public static final int DEFAULT_LENGTH = 2; - public static final int DEFAULT_LENGTH_VARIANCE = 1; + public static final int DEFAULT_LENGTH_VARIANCE = 0; public static final boolean DEFAULT_ALLOW_ZERO_HOP = true; public static final int DEFAULT_IP_RESTRICTION = 2; // class B (/16) -- GitLab