Author: nextgens
Date: 2008-08-14 22:48:45 +0000 (Thu, 14 Aug 2008)
New Revision: 21881

Modified:
   trunk/freenet/src/freenet/node/NodeClientCore.java
Log:
[22:46] <@      toad_> | very little useful content will be under 32K
[22:46] <@      toad_> | if you have 10MB of pool to work with, imho a limit of 
128K is reasonable


Modified: trunk/freenet/src/freenet/node/NodeClientCore.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeClientCore.java  2008-08-14 22:24:27 UTC 
(rev 21880)
+++ trunk/freenet/src/freenet/node/NodeClientCore.java  2008-08-14 22:48:45 UTC 
(rev 21881)
@@ -209,7 +209,7 @@
                        throw new 
NodeInitException(NodeInitException.EXIT_BAD_TEMP_DIR, msg);
                }

-               nodeConfig.register("maxRAMBucketSize", "32KiB", sortOrder++, 
true, false, "NodeClientCore.maxRAMBucketSize", 
"NodeClientCore.maxRAMBucketSizeLong", new LongCallback() {
+               nodeConfig.register("maxRAMBucketSize", "128KiB", sortOrder++, 
true, false, "NodeClientCore.maxRAMBucketSize", 
"NodeClientCore.maxRAMBucketSizeLong", new LongCallback() {

                        public Long get() {
                                return (tempBucketFactory == null ? 0 : 
tempBucketFactory.getMaxRAMBucketSize());


Reply via email to