Transports: Reduce idle timeouts

This commit is contained in:
zzz
2015-04-21 09:58:46 +00:00
parent a6ac8f8c09
commit fd82fff07a
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class EventPumper implements Runnable {
private static final long BLOCKED_IP_FREQ = 3*60*1000;
/** 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 MIN_EXPIRE_IDLE_TIME = 120*1000l;
private static final long MAX_EXPIRE_IDLE_TIME = 11*60*1000l;
/**

View File

@ -1667,7 +1667,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 = 270*1000; // 4 1/2 minutes
public static final int MIN_EXPIRE_TIMEOUT = 165*1000;
public String getStyle() { return STYLE; }