Author: toad
Date: 2008-06-27 10:23:39 +0000 (Fri, 27 Jun 2008)
New Revision: 20810

Modified:
   
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
Log:
Reduce activation depth

Modified: 
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
===================================================================
--- 
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java  
    2008-06-27 10:19:13 UTC (rev 20809)
+++ 
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java  
    2008-06-27 10:23:39 UTC (rev 20810)
@@ -110,9 +110,9 @@
                if(recentSuccesses == null)
                        System.err.println("recentSuccesses is null");
                if(!isInsertScheduler)
-                       
((Db4oMap)pendingKeys).activationDepth(Integer.MAX_VALUE);
+                       ((Db4oMap)pendingKeys).activationDepth(1);
                ((Db4oMap)allRequestsByClientRequest).activationDepth(1);
-               ((Db4oList)recentSuccesses).activationDepth(Integer.MAX_VALUE);
+               ((Db4oList)recentSuccesses).activationDepth(1);
                if(!isInsertScheduler) {
                        persistentCooldownQueue.setCooldownTime(cooldownTime);
                }


Reply via email to