mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
* Transports: Reduce idle timeouts to mitigate conn limit issues
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user