mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 00:02:59 +00:00
reduce max msg delay
This commit is contained in:
1 parent
820c573476
commit
8a1db31184
1 file changed
+2
-2
@@ -34,7 +34,7 @@ class RouterThrottleImpl implements RouterThrottle {
|
||||
private static final int DEFAULT_MAX_TUNNELS = 2500;
|
||||
private static final String PROP_DEFAULT_KBPS_THROTTLE = "router.defaultKBpsThrottle";
|
||||
private static final String PROP_MAX_PROCESSINGTIME = "router.defaultProcessingTimeThrottle";
|
||||
private static final int DEFAULT_MAX_PROCESSINGTIME = 1500;
|
||||
private static final int DEFAULT_MAX_PROCESSINGTIME = 1250;
|
||||
|
||||
/** tunnel acceptance */
|
||||
public static final int TUNNEL_ACCEPT = 0;
|
||||
@@ -137,7 +137,7 @@ class RouterThrottleImpl implements RouterThrottle {
|
||||
_log.warn("Refusing tunnel request due to sendProcessingTime of " + avgSendProcessingTime
|
||||
+ " ms over the last two minutes, which is too much.");
|
||||
}
|
||||
setTunnelStatus("Rejecting tunnels: congestion");
|
||||
setTunnelStatus("Rejecting tunnels: High message delay");
|
||||
return TunnelHistory.TUNNEL_REJECT_BANDWIDTH;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user