Author: toad
Date: 2009-02-25 00:04:27 +0000 (Wed, 25 Feb 2009)
New Revision: 25807
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
Comments
Modified:
branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
2009-02-24 22:45:19 UTC (rev 25806)
+++ branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
2009-02-25 00:04:27 UTC (rev 25807)
@@ -573,6 +573,10 @@
}
}
+ /** Don't fill the starter queue until this point. Used to implement a
60 second
+ * cooldown after failing to fill the queue: if there was nothing
queued, and since
+ * we know if more requests are started they will be added to the
queue, this is
+ * an acceptable optimisation to reduce the database load from the idle
schedulers... */
private long nextQueueFillRequestStarterQueue = -1;
public void queueFillRequestStarterQueue() {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs