[freenet-cvs] r15439 - trunk/freenet/src/freenet/node

nextgens at freenetproject.org nextgens at freenetproject.org
Tue Oct 9 04:29:03 UTC 2007


Author: nextgens
Date: 2007-10-09 04:29:02 +0000 (Tue, 09 Oct 2007)
New Revision: 15439

Modified:
   trunk/freenet/src/freenet/node/FNPPacketMangler.java
Log:
JFK: reduce the size of the cache to spare some memory

Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java	2007-10-08 16:23:50 UTC (rev 15438)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java	2007-10-09 04:29:02 UTC (rev 15439)
@@ -92,7 +92,7 @@
 	 * 
 	 * We push to it until we reach the cap where we rekey
 	 */
-	private static final int AUTHENTICATOR_CACHE_SIZE = 50;
+	private static final int AUTHENTICATOR_CACHE_SIZE = 30;
 	private static final int MAX_PACKETS_IN_FLIGHT = 256; 
 	private static final int RANDOM_BYTES_LENGTH = 12;
 	private static final int HASH_LENGTH = SHA256.getDigestLength();




More information about the cvs mailing list