Author: toad
Date: 2008-02-23 21:25:47 +0000 (Sat, 23 Feb 2008)
New Revision: 18139

Modified:
   trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
Comments

Modified: trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-02-23 21:23:38 UTC (rev 18138)
+++ trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-02-23 21:25:47 UTC (rev 18139)
@@ -101,7 +101,9 @@
        /** Once a key has been requested a few times, don't request it again 
for 30 minutes. 
         * To do so would be pointless given ULPRs, and just waste bandwidth. */
        public static final long COOLDOWN_PERIOD = 5*60*1000;
-       /** The number of times a key can be requested before triggering the 
cooldown period. */
+       /** The number of times a key can be requested before triggering the 
cooldown period. 
+        * Note: If you don't want your requests to be subject to cooldown 
(e.g. in fproxy), make 
+        * your max retry count less than this (and more than -1). */
        public static final int COOLDOWN_RETRIES = 3;

        /** All pending gets by key. Used to automatically satisfy pending 
requests when either the key is fetched by


Reply via email to