Author: toad
Date: 2007-09-14 14:39:23 +0000 (Fri, 14 Sep 2007)
New Revision: 15161

Modified:
   trunk/freenet/src/freenet/config/FilePersistentConfig.java
Log:
Increase to 1MB, there's no real reason for a short limit here.

Modified: trunk/freenet/src/freenet/config/FilePersistentConfig.java
===================================================================
--- trunk/freenet/src/freenet/config/FilePersistentConfig.java  2007-09-14 
14:38:51 UTC (rev 15160)
+++ trunk/freenet/src/freenet/config/FilePersistentConfig.java  2007-09-14 
14:39:23 UTC (rev 15161)
@@ -96,7 +96,7 @@
                try {
                        LineReadingInputStream lis = new 
LineReadingInputStream(bis);
                        // Config file is UTF-8 too!
-                       return new SimpleFieldSet(lis, 65536, 128, true, true, 
true, true); // FIXME? advanced users may edit the config file, hence true?
+                       return new SimpleFieldSet(lis, 1024*1024, 128, true, 
true, true, true); // FIXME? advanced users may edit the config file, hence 
true?
                } finally {
                        try {
                                fis.close();


Reply via email to