Author: zothar
Date: 2006-05-29 20:55:38 +0000 (Mon, 29 May 2006)
New Revision: 8935

Modified:
   trunk/freenet/src/freenet/node/PeerNode.java
Log:
Revert the 'slow start' routing backoff hack committed I committed in the last 
24 hours.  Found a much better fix and it's not combined with the hard work of 
MRogers and nextgens.

Modified: trunk/freenet/src/freenet/node/PeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNode.java        2006-05-29 20:45:41 UTC 
(rev 8934)
+++ trunk/freenet/src/freenet/node/PeerNode.java        2006-05-29 20:55:38 UTC 
(rev 8935)
@@ -1421,7 +1421,8 @@
        /** How much to multiply by during fast routing backoff */
        final int FAST_ROUTING_BACKOFF_MULTIPLIER = 2;
        /** After what routing backoff length do we use fast routing backoff 
(slow before this) */
-       final int FAST_ROUTING_BACKOFF_LOW_THRESHOLD = 2*60*60*1000;  // 2 hours
+       //final int FAST_ROUTING_BACKOFF_LOW_THRESHOLD = 2*60*60*1000;  // 2 
hours
+       final int FAST_ROUTING_BACKOFF_LOW_THRESHOLD = 2*1000;  // 2 seconds 
(i.e., never happens)
        /** Maximum upper limit to routing backoff slow or fast */
        final int MAX_ROUTING_BACKOFF_LENGTH = 24*60*60*1000;  // 24 hours
        /** Current nominal routing backoff length */


Reply via email to