Author: toad
Date: 2007-08-17 18:56:48 +0000 (Fri, 17 Aug 2007)
New Revision: 14761
Modified:
trunk/freenet/src/freenet/node/NodeClientCore.java
Log:
Allow a lot more files to be cached by the container unpack cache
Modified: trunk/freenet/src/freenet/node/NodeClientCore.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeClientCore.java 2007-08-17 18:46:43 UTC
(rev 14760)
+++ trunk/freenet/src/freenet/node/NodeClientCore.java 2007-08-17 18:56:48 UTC
(rev 14761)
@@ -111,7 +111,7 @@
static final long MAX_CACHED_ARCHIVE_DATA = 32*1024*1024; // make a
fixed fraction of the store by default? FIXME
static final long MAX_ARCHIVE_SIZE = 2*1024*1024; // ??? FIXME
static final long MAX_ARCHIVED_FILE_SIZE = 1024*1024; // arbitrary...
FIXME
- static final int MAX_CACHED_ELEMENTS = 1024; // equally arbitrary!
FIXME hopefully we can cache many of these though
+ static final int MAX_CACHED_ELEMENTS = 256*1024; // equally arbitrary!
FIXME hopefully we can cache many of these though
NodeClientCore(Node node, Config config, SubConfig nodeConfig, File
nodeDir, int portNumber, int sortOrder, SimpleFieldSet oldThrottleFS) throws
NodeInitException {
this.node = node;