* Transports: Reduce idle timeouts to mitigate conn limit issues

This commit is contained in:
zzz
2013-06-10 14:06:43 +00:00
parent 660be7d579
commit 526df43233
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ class EventPumper implements Runnable {
/** tunnel test now disabled, but this should be long enough to allow an active tunnel to get started */
private static final long MIN_EXPIRE_IDLE_TIME = 135*1000l;
private static final long MAX_EXPIRE_IDLE_TIME = 15*60*1000l;
private static final long MAX_EXPIRE_IDLE_TIME = 11*60*1000l;
/**
* Do we use direct buffers for reading? Default false.

View File

@ -1374,7 +1374,7 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
// in the IntroductionManager a chance to work.
public static final int EXPIRE_TIMEOUT = 20*60*1000;
private static final int MAX_IDLE_TIME = EXPIRE_TIMEOUT;
public static final int MIN_EXPIRE_TIMEOUT = 6*60*1000;
public static final int MIN_EXPIRE_TIMEOUT = 270*1000; // 4 1/2 minutes
public String getStyle() { return STYLE; }