Author: toad
Date: 2006-08-11 00:29:00 +0000 (Fri, 11 Aug 2006)
New Revision: 10038
Modified:
trunk/freenet/src/freenet/node/Node.java
Log:
Increase ping time limits to 700/1500.
Partly because coalescing delay can be 100ms each way.
Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java 2006-08-11 00:15:09 UTC (rev
10037)
+++ trunk/freenet/src/freenet/node/Node.java 2006-08-11 00:29:00 UTC (rev
10038)
@@ -476,10 +476,10 @@
// If we don't receive any packets at all in this period, from any
node, tell the user
public static final long ALARM_TIME = 60*1000;
/** Sub-max ping time. If ping is greater than this, we reject some
requests. */
- public static final long SUB_MAX_PING_TIME = 500;
+ public static final long SUB_MAX_PING_TIME = 700;
/** Maximum overall average ping time. If ping is greater than this,
* we reject all requests. */
- public static final long MAX_PING_TIME = 1000;
+ public static final long MAX_PING_TIME = 1500;
/** Maximum throttled packet delay. If the throttled packet delay is
greater
* than this, reject all packets. */
public static final long MAX_THROTTLE_DELAY = 2000;