Author: toad
Date: 2007-09-21 15:42:10 +0000 (Fri, 21 Sep 2007)
New Revision: 15232

Modified:
   trunk/freenet/src/freenet/client/async/USKFetcher.java
Log:
comments

Modified: trunk/freenet/src/freenet/client/async/USKFetcher.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKFetcher.java      2007-09-21 
15:22:58 UTC (rev 15231)
+++ trunk/freenet/src/freenet/client/async/USKFetcher.java      2007-09-21 
15:42:10 UTC (rev 15232)
@@ -24,7 +24,7 @@
  * we are talking about. If this is fast enough then people will use the "-" 
form.
  * 
  * FProxy should cause USKs with negative edition numbers to be redirected to 
USKs
- * with negative edition numbers.
+ * with positive edition numbers.
  * 
  * If the number specified is up to date, we just do the fetch. If a more 
recent
  * USK can be found, then we fail with an exception with the new version. The
@@ -256,7 +256,7 @@
                                        minFailures = origMinFailures;
                                        sleepTime = origSleepTime;
                                } else {
-                                       // Not exponential; it is more likely 
that it is close to the known edition than not.
+                                       // Increase exponentially but 
relatively slowly
                                        long newMinFailures = 
Math.max(((int)(minFailures * 1.25)), minFailures+1);
                                        if(newMinFailures > maxMinFailures)
                                                newMinFailures = maxMinFailures;


Reply via email to