Author: toad
Date: 2007-09-21 15:44:58 +0000 (Fri, 21 Sep 2007)
New Revision: 15234
Modified:
trunk/freenet/src/freenet/client/async/USKFetcher.java
Log:
Much longer sleep between fetches when doing background polling of a USK.
Both of these changes put together are intended to eliminate the current
situation that any SSK request on priority below 3 will never be executed.
Modified: trunk/freenet/src/freenet/client/async/USKFetcher.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKFetcher.java 2007-09-21
15:43:40 UTC (rev 15233)
+++ trunk/freenet/src/freenet/client/async/USKFetcher.java 2007-09-21
15:44:58 UTC (rev 15234)
@@ -184,8 +184,8 @@
long minFailures;
final long origMinFailures;
- static final long origSleepTime = 1000;
- static final long maxSleepTime = 60 * 60 * 1000;
+ static final long origSleepTime = 5 * 60 * 1000;
+ static final long maxSleepTime = 24 * 60 * 60 * 1000;
long sleepTime = origSleepTime;
/** Maximum number of editions to probe ahead. */