See gh-21481
This commit is contained in:
wonwoo 2020-05-17 15:49:14 +09:00 committed by Andy Wilkinson
parent 38db129146
commit 25723be26f
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ final class GracefulShutdown {
callback.shutdownComplete(GracefulShutdownResult.IDLE);
}
catch (Exception ex) {
logger.info("Graceful shutdown aborted with one or more active requests");
logger.info("Graceful shutdown aborted with one or more requests still active");
callback.shutdownComplete(GracefulShutdownResult.REQUESTS_ACTIVE);
}
finally {

View File

@ -306,7 +306,7 @@ public class UndertowWebServer implements WebServer {
callback.shutdownComplete(GracefulShutdownResult.IMMEDIATE);
return;
}
logger.info("Commencing graceful shutdown. Wait for active requests to complete");
logger.info("Commencing graceful shutdown. Waiting for active requests to complete");
this.gracefulShutdownCallback.set(callback);
this.gracefulShutdown.shutdown();
this.gracefulShutdown.addShutdownListener((success) -> notifyGracefulCallback(success));