mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
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:
1 parent
cd939d3379
commit
a65e6c888c
3 files changed
+9
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user