diff --git a/router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java b/router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java index ce287f2d6585185034d222f5ecfa8792a7396d23..e04816b9222d1e6455f35e31a8ffabfb9664d9d6 100644 --- a/router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java +++ b/router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java @@ -949,7 +949,7 @@ public class TunnelDispatcher implements Service { long now = getContext().clock().now() + LEAVE_BATCH_TIME; // leave all expiring in next 10 sec long nextTime = now + 10*60*1000; while ((cur = _configs.peek()) != null) { - long exp = cur.getExpiration() + (2 * Router.CLOCK_FUDGE_FACTOR) + LEAVE_BATCH_TIME; + long exp = cur.getExpiration() + (3 * Router.CLOCK_FUDGE_FACTOR / 2) + LEAVE_BATCH_TIME; if (exp < now) { _configs.poll(); if (_log.shouldLog(Log.INFO))