Author: toad
Date: 2008-04-12 15:07:41 +0000 (Sat, 12 Apr 2008)
New Revision: 19238

Modified:
   trunk/freenet/src/freenet/store/CHKStore.java
Log:
Create a .keys file for CHK store and cache. See the comments explaining why.

Modified: trunk/freenet/src/freenet/store/CHKStore.java
===================================================================
--- trunk/freenet/src/freenet/store/CHKStore.java       2008-04-12 15:01:06 UTC 
(rev 19237)
+++ trunk/freenet/src/freenet/store/CHKStore.java       2008-04-12 15:07:41 UTC 
(rev 19238)
@@ -50,7 +50,10 @@
        }

        public boolean storeFullKeys() {
-               return false;
+               // Worth the extra two file descriptors, because if we have the 
keys we can do lazy 
+               // reconstruction i.e. don't construct each block, just 
transcode from the .keys file
+               // straight into the database.
+               return true;
        }

 }


Reply via email to