-
Bug
-
Resolution: Done
-
Major
-
2.0.0.Alpha4
-
None
Value for --timeout argument needs to be set in microseconds instead of seconds.
// boot time is transformed into milis Long bootTimeout = null; String timeoutString = timeout.getValue(parsedCmd); if (timeoutString != null) { bootTimeout = TimeUnit.SECONDS.toMillis(Long.parseLong(timeoutString)); } ... // but expired is transformed into nanos long expired = bootTimeout == null ? Long.MAX_VALUE : System.nanoTime() + bootTimeout;
Could be fixed by converting parsed timeoutString into nanos.
- clones
-
JBEAP-304 bootTimeout for embedded server uses milis instead of nanos
- Closed