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)
*
*/
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