Author: toad
Date: 2008-02-27 21:43:56 +0000 (Wed, 27 Feb 2008)
New Revision: 18194
Modified:
trunk/freenet/src/freenet/node/Node.java
Log:
Decrease DECREMENT_AT_MAX_HTL_PROB to 0.1. Now we have an average of 10 hops at
HTL 15, then 14 hops, then 4 hops at HTL 1.
Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java 2008-02-27 21:42:21 UTC (rev
18193)
+++ trunk/freenet/src/freenet/node/Node.java 2008-02-27 21:43:56 UTC (rev
18194)
@@ -250,7 +250,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.2;
+ public static final double DECREMENT_AT_MAX_PROB = 0.1;
// 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;