Author: toad
Date: 2008-06-24 15:34:20 +0000 (Tue, 24 Jun 2008)
New Revision: 20647
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
Log:
Only activate if persistent!!
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
===================================================================
---
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
2008-06-24 14:29:10 UTC (rev 20646)
+++
branches/db4o/freenet/src/freenet/client/async/ClientRequestSchedulerCore.java
2008-06-24 15:34:20 UTC (rev 20647)
@@ -332,7 +332,8 @@
if(logMINOR) Logger.minor(this, "No requests,
adjusted retrycount "+chosenTracker.getNumber()+" ("+chosenTracker+") of
priority "+choosenPriorityClass);
continue; // Try next retry count.
}
- container.activate(req, Integer.MAX_VALUE); // FIXME
+ if(req.persistent())
+ container.activate(req, Integer.MAX_VALUE); //
FIXME
if(req.getPriorityClass() != choosenPriorityClass) {
// Reinsert it : shouldn't happen if we are
calling reregisterAll,
// maybe we should ask people to report that
error if seen