Author: toad
Date: 2008-04-29 18:48:19 +0000 (Tue, 29 Apr 2008)
New Revision: 19616
Modified:
trunk/freenet/src/freenet/client/async/USKFetcher.java
Log:
Start USK polling cooldown at 30 minutes.
Should have less of a flood of USK/ARK fetches on startup, also this is logical
given the cooldown queue and later on RecentlyFailed.
Also note that we do 3 retries on each slot before this cooldown takes effect.
Modified: trunk/freenet/src/freenet/client/async/USKFetcher.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKFetcher.java 2008-04-29
17:27:19 UTC (rev 19615)
+++ trunk/freenet/src/freenet/client/async/USKFetcher.java 2008-04-29
18:48:19 UTC (rev 19616)
@@ -184,7 +184,7 @@
long minFailures;
final long origMinFailures;
- static final long origSleepTime = 5 * 60 * 1000;
+ static final long origSleepTime = 30 * 60 * 1000;
static final long maxSleepTime = 24 * 60 * 60 * 1000;
long sleepTime = origSleepTime;