diff --git a/core/java/src/net/i2p/crypto/TransientSessionKeyManager.java b/core/java/src/net/i2p/crypto/TransientSessionKeyManager.java index 2222d7419..3eea56cc7 100644 --- a/core/java/src/net/i2p/crypto/TransientSessionKeyManager.java +++ b/core/java/src/net/i2p/crypto/TransientSessionKeyManager.java @@ -51,8 +51,8 @@ class TransientSessionKeyManager extends SessionKeyManager { * can cause failed decrypts) * */ - public final static long SESSION_LIFETIME_MAX_MS = SESSION_TAG_DURATION_MS + 5 * 60 * 1000; - public final static int MAX_INBOUND_SESSION_TAGS = 100 * 1000; // this will consume at most 3.2M + public final static long SESSION_LIFETIME_MAX_MS = SESSION_TAG_DURATION_MS + 2 * 60 * 1000; + public final static int MAX_INBOUND_SESSION_TAGS = 500 * 1000; // this will consume at most a few MB /** * The session key manager should only be constructed and accessed through the diff --git a/history.txt b/history.txt index 328a7d022..3457f8758 100644 --- a/history.txt +++ b/history.txt @@ -1,4 +1,8 @@ -$Id: history.txt,v 1.128 2005/01/15 18:16:13 jrandom Exp $ +$Id: history.txt,v 1.129 2005/01/17 03:15:00 jrandom Exp $ + +2005-01-18 jrandom + * Increased the max # session tags maintained and decreased slightly the + period over which they are gathered. 2005-01-17 jrandom * Added meaningful support for adjusting the preferred message size in the diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index af0a0de62..5bbe7fed9 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -15,9 +15,9 @@ import net.i2p.CoreVersion; * */ public class RouterVersion { - public final static String ID = "$Revision: 1.133 $ $Date: 2005/01/15 18:16:12 $"; + public final static String ID = "$Revision: 1.134 $ $Date: 2005/01/17 03:15:03 $"; public final static String VERSION = "0.4.2.6"; - public final static long BUILD = 3; + public final static long BUILD = 4; public static void main(String args[]) { System.out.println("I2P Router version: " + VERSION); System.out.println("Router ID: " + RouterVersion.ID);