Polish spelling of elapsed
See gh-4657
This commit is contained in:
@@ -88,7 +88,7 @@ final class NettyGracefulShutdown implements GracefulShutdown {
|
||||
return true;
|
||||
}
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info("Grace period elaped with " + activeRequests + " request(s) still active");
|
||||
logger.info("Grace period elapsed with " + activeRequests + " request(s) still active");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ class TomcatGracefulShutdown implements GracefulShutdown {
|
||||
for (Container context : host.findChildren()) {
|
||||
while (active(context)) {
|
||||
if (System.currentTimeMillis() > end) {
|
||||
logger.info("Grace period elaped with one or more requests still active");
|
||||
logger.info("Grace period elapsed with one or more requests still active");
|
||||
return false;
|
||||
}
|
||||
Thread.sleep(50);
|
||||
|
||||
@@ -64,7 +64,7 @@ class UndertowGracefulShutdown implements GracefulShutdown {
|
||||
logger.info("Graceful shutdown complete");
|
||||
return true;
|
||||
}
|
||||
logger.info("Grace period elaped with one or more requests still active");
|
||||
logger.info("Grace period elapsed with one or more requests still active");
|
||||
return graceful;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user