forked from I2P_Developers/i2p.i2p
TunnelDispatcher: Start part. tunnel cleanup job sooner since
we're accepting tunnels sooner.
This commit is contained in:
@@ -950,8 +950,8 @@ public class TunnelDispatcher implements Service {
|
||||
public LeaveTunnel(RouterContext ctx) {
|
||||
super(ctx);
|
||||
_configs = new LinkedBlockingQueue<HopConfig>();
|
||||
// 20 min no tunnels accepted + 10 min tunnel expiration
|
||||
getTiming().setStartAfter(ctx.clock().now() + 30*60*1000);
|
||||
// 10 min no tunnels accepted + 10 min tunnel expiration
|
||||
getTiming().setStartAfter(ctx.clock().now() + 20*60*1000);
|
||||
getContext().jobQueue().addJob(LeaveTunnel.this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user