change what we call imminent so we dont display ms

This commit is contained in:
zzz
2012-09-10 22:40:21 +00:00
parent 50ec279917
commit d7b48a2256

View File

@ -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));