mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 17:23:13 +00:00
TunnelDispatcher: Start part. tunnel cleanup job sooner since
we're accepting tunnels sooner.
This commit is contained in:
1 parent
aae801efaf
commit
dd4c62b560
1 file changed
+2
-2
@@ -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