From fd25ead0bd83e822021e0d518e0776397838842b Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Mon, 31 Oct 2011 00:09:10 +0000 Subject: [PATCH] * NetDB: Reduce max RI publish interval --- .../src/net/i2p/router/networkdb/PublishLocalRouterInfoJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/networkdb/PublishLocalRouterInfoJob.java b/router/java/src/net/i2p/router/networkdb/PublishLocalRouterInfoJob.java index 8ca29317c3..18612c3cd1 100644 --- a/router/java/src/net/i2p/router/networkdb/PublishLocalRouterInfoJob.java +++ b/router/java/src/net/i2p/router/networkdb/PublishLocalRouterInfoJob.java @@ -72,7 +72,7 @@ public class PublishLocalRouterInfoJob extends JobImpl { _log.error("Error signing the updated local router info!", dfe); } if (_notFirstTime) { - requeue((PUBLISH_DELAY/2) + getContext().random().nextInt((int)PUBLISH_DELAY)); + requeue((PUBLISH_DELAY * 3 / 4) + getContext().random().nextInt((int)PUBLISH_DELAY / 2)); } else { requeue(FIRST_TIME_DELAY); _notFirstTime = true; -- GitLab