Author: toad
Date: 2008-02-19 17:23:04 +0000 (Tue, 19 Feb 2008)
New Revision: 18069

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
Reduce pDropAtMaxHTL to 20%, and increase max HTL to 15.
This should make for a reasonably easy transition.
Next but one stable build will reduce pDropAtMaxHTL to 10% and put HTL back 
down to 10.

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2008-02-19 17:21:34 UTC (rev 
18068)
+++ trunk/freenet/src/freenet/node/Node.java    2008-02-19 17:23:04 UTC (rev 
18069)
@@ -248,7 +248,7 @@
        public static final int PACKETS_IN_BLOCK = 32;
        public static final int PACKET_SIZE = 1024;
        public static final double DECREMENT_AT_MIN_PROB = 0.25;
-       public static final double DECREMENT_AT_MAX_PROB = 0.5;
+       public static final double DECREMENT_AT_MAX_PROB = 0.2;
        // Send keepalives every 14-28 seconds. Comfortably fits within 30 
second timeout.
        // If the packet is dropped, we will send ack requests etc, so this 
should be fine.
        public static final int KEEPALIVE_INTERVAL = 14000;
@@ -402,7 +402,7 @@
        final boolean enableSwapping;
        boolean enableSwapQueueing;
        boolean enablePacketCoalescing;
-       public static final short DEFAULT_MAX_HTL = (short)10;
+       public static final short DEFAULT_MAX_HTL = (short)15;
        private short maxHTL;
        /** Type identifier for fproxy node to node messages, as sent on 
DMT.nodeToNodeMessage's */
        public static final int N2N_MESSAGE_TYPE_FPROXY = 1;


Reply via email to