Author: toad
Date: 2008-06-07 16:23:55 +0000 (Sat, 07 Jun 2008)
New Revision: 20255
Modified:
trunk/freenet/src/freenet/client/Metadata.java
Log:
Fix too many splitfile blocks by raising the limit a bit
Modified: trunk/freenet/src/freenet/client/Metadata.java
===================================================================
--- trunk/freenet/src/freenet/client/Metadata.java 2008-06-07 14:38:26 UTC
(rev 20254)
+++ trunk/freenet/src/freenet/client/Metadata.java 2008-06-07 16:23:55 UTC
(rev 20255)
@@ -33,7 +33,7 @@
static final long FREENET_METADATA_MAGIC = 0xf053b2842d91482bL;
static final int MAX_SPLITFILE_PARAMS_LENGTH = 32768;
/** Soft limit, to avoid memory DoS */
- static final int MAX_SPLITFILE_BLOCKS = 100*1000;
+ static final int MAX_SPLITFILE_BLOCKS = 1000*1000;
// URI at which this Metadata has been/will be inserted.
FreenetURI resolvedURI;