Author: toad
Date: 2008-07-04 13:38:27 +0000 (Fri, 04 Jul 2008)
New Revision: 20981
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
Activation
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
2008-07-04 13:36:57 UTC (rev 20980)
+++ branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
2008-07-04 13:38:27 UTC (rev 20981)
@@ -701,8 +701,10 @@
final SendableGet[] gets =
schedCore.removePendingKey(key);
if(gets == null) return;
if(persistentCooldownQueue != null) {
- for(int i=0;i<gets.length;i++)
+ for(int i=0;i<gets.length;i++) {
+ container.activate(gets[i], 1);
persistentCooldownQueue.removeKey(key, gets[i],
gets[i].getCooldownWakeupByKey(key, container), container);
+ }
}
// Call the callbacks on the database executor
thread, because the first thing
// they will need to do is access the database
to decide whether they need to