2005-01-18 jrandom

* Increased the max # session tags maintained and decreased slightly the
      period over which they are gathered.
This commit is contained in:
jrandom
2005-01-19 00:08:13 +00:00
committed by zzz
parent cd939d3379
commit a65e6c888c
3 changed files with 9 additions and 5 deletions

View File

@ -51,8 +51,8 @@ class TransientSessionKeyManager extends SessionKeyManager {
* can cause failed decrypts) * can cause failed decrypts)
* *
*/ */
public final static long SESSION_LIFETIME_MAX_MS = SESSION_TAG_DURATION_MS + 5 * 60 * 1000; public final static long SESSION_LIFETIME_MAX_MS = SESSION_TAG_DURATION_MS + 2 * 60 * 1000;
public final static int MAX_INBOUND_SESSION_TAGS = 100 * 1000; // this will consume at most 3.2M 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 * The session key manager should only be constructed and accessed through the

View File

@ -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 2005-01-17 jrandom
* Added meaningful support for adjusting the preferred message size in the * Added meaningful support for adjusting the preferred message size in the

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
* *
*/ */
public class RouterVersion { 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 String VERSION = "0.4.2.6";
public final static long BUILD = 3; public final static long BUILD = 4;
public static void main(String args[]) { public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION); System.out.println("I2P Router version: " + VERSION);
System.out.println("Router ID: " + RouterVersion.ID); System.out.println("Router ID: " + RouterVersion.ID);