Author: toad
Date: 2008-07-22 01:04:00 +0000 (Tue, 22 Jul 2008)
New Revision: 21301

Modified:
   branches/db4o/freenet/src/freenet/client/async/BinaryBlobInserter.java
Log:
Fix using wrong scheduler for binary blob inserts

Modified: branches/db4o/freenet/src/freenet/client/async/BinaryBlobInserter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/BinaryBlobInserter.java      
2008-07-21 23:27:37 UTC (rev 21300)
+++ branches/db4o/freenet/src/freenet/client/async/BinaryBlobInserter.java      
2008-07-22 01:04:00 UTC (rev 21301)
@@ -71,9 +71,9 @@

        private ClientRequestScheduler getScheduler(KeyBlock block, 
ClientContext context) {
                if(block instanceof CHKBlock)
-                       return context.getChkFetchScheduler();
+                       return context.getChkInsertScheduler();
                else if(block instanceof SSKBlock)
-                       return context.getSskFetchScheduler();
+                       return context.getSskInsertScheduler();
                else throw new IllegalArgumentException("Unknown block type 
"+block.getClass()+" : "+block);
        }



Reply via email to