From d7b48a2256b4cdfde538c72d1e0f9e1fe8d89a5c Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Mon, 10 Sep 2012 22:40:21 +0000
Subject: [PATCH] change what we call imminent so we dont display ms

---
 .../java/src/net/i2p/router/web/ConfigRestartBean.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java
index 7a62737d88..204bda9f82 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java
@@ -59,7 +59,7 @@ public class ConfigRestartBean {
         boolean restarting = isRestarting(ctx);
         long timeRemaining = ctx.router().getShutdownTimeRemaining();
         StringBuilder buf = new StringBuilder(128);
-        if ((shuttingDown || restarting) && timeRemaining <= 0) {
+        if ((shuttingDown || restarting) && timeRemaining <= 5*1000) {
             buf.append("<h4>");
             if (restarting)
                 buf.append(_("Restart imminent", ctx));
-- 
GitLab