Author: toad
Date: 2008-06-26 18:36:48 +0000 (Thu, 26 Jun 2008)
New Revision: 20773

Modified:
   branches/db4o/freenet/src/freenet/client/async/BaseSingleFileFetcher.java
Log:
More key activation

Modified: 
branches/db4o/freenet/src/freenet/client/async/BaseSingleFileFetcher.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/BaseSingleFileFetcher.java   
2008-06-26 18:19:12 UTC (rev 20772)
+++ branches/db4o/freenet/src/freenet/client/async/BaseSingleFileFetcher.java   
2008-06-26 18:36:48 UTC (rev 20773)
@@ -47,6 +47,8 @@
        }

        public Object chooseKey(KeysFetchingLocally fetching, ObjectContainer 
container, ClientContext context) {
+               if(persistent)
+                       container.activate(key, 5);
                if(fetching.hasKey(key.getNodeKey())) return null;
                return keys[0];
        }


Reply via email to