Author: toad
Date: 2008-10-28 19:28:30 +0000 (Tue, 28 Oct 2008)
New Revision: 23161

Modified:
   branches/db4o/freenet/src/freenet/client/async/PersistentChosenRequest.java
Log:
Looks like this may be to blame for the accumulation of lots of 
PersistentChosenRequest's and therefore ClientCHKBlock's ... get rid of it.


Modified: 
branches/db4o/freenet/src/freenet/client/async/PersistentChosenRequest.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/PersistentChosenRequest.java 
2008-10-28 19:03:07 UTC (rev 23160)
+++ branches/db4o/freenet/src/freenet/client/async/PersistentChosenRequest.java 
2008-10-28 19:28:30 UTC (rev 23161)
@@ -85,18 +85,6 @@
                if(!reqActive)
                        container.deactivate(req, 1);
                logMINOR = Logger.shouldLog(Logger.MINOR, this);
-               
-               // Remove debugging check? How reasonable is the timeout for 
inserts??
-               context.ticker.queueTimedJob(new Runnable() {
-
-                       public void run() {
-                               synchronized(PersistentChosenRequest.this) {
-                                       if(finished) return;
-                                       Logger.error(this, "Still not finished 
after timeout: "+PersistentChosenRequest.this);
-                               }
-                       }
-                       
-               }, 4*60*60*1000); // should be plenty of time even with 1000 
single-insert PCRs each taking 10 seconds ...
        }

        void onFinished(PersistentChosenBlock block, ClientContext context) {


Reply via email to