Author: toad
Date: 2008-06-21 16:51:35 +0000 (Sat, 21 Jun 2008)
New Revision: 20590

Modified:
   branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
Add a RegisterMe for non-gets.

Modified: 
branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-06-21 16:40:16 UTC (rev 20589)
+++ branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-06-21 16:51:35 UTC (rev 20590)
@@ -219,6 +219,8 @@
                                }, getter.getPriorityClass(), "Checking 
datastore");
                        }
                } else {
+                       if(persistent)
+                               schedCore.queueRegister(req, databaseExecutor);
                        // Pretend to not be on the database thread.
                        // In some places (e.g. SplitFileInserter.start(), we 
call register() *many* times within a single transaction.
                        // We can greatly improve responsiveness at the cost of 
some throughput and RAM by only adding the tags at this point.


Reply via email to