Author: toad
Date: 2008-06-18 18:00:04 +0000 (Wed, 18 Jun 2008)
New Revision: 20442

Modified:
   
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
Log:
Set activation depth to maxint for now

Modified: 
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
===================================================================
--- 
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java  
    2008-06-18 17:58:04 UTC (rev 20441)
+++ 
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java  
    2008-06-18 18:00:04 UTC (rev 20442)
@@ -98,9 +98,9 @@
        }

        private void onStarted(ObjectContainer container, long cooldownTime, 
ClientRequestScheduler sched, ClientContext context) {
-               ((Db4oMap)pendingKeys).activationDepth(1);
-               ((Db4oMap)allRequestsByClientRequest).activationDepth(1);
-               ((Db4oList)recentSuccesses).activationDepth(1);
+               ((Db4oMap)pendingKeys).activationDepth(Integer.MAX_VALUE);
+               
((Db4oMap)allRequestsByClientRequest).activationDepth(Integer.MAX_VALUE);
+               ((Db4oList)recentSuccesses).activationDepth(Integer.MAX_VALUE);
                this.container = container;
                if(!isInsertScheduler) {
                        persistentCooldownQueue.setCooldownTime(cooldownTime);


Reply via email to