Shortened shutdown timeout by a lot

This commit is contained in:
nathan 2019-01-25 00:49:48 +01:00
parent 11578b817d
commit 1a6540f360

View File

@ -217,7 +217,7 @@ class Shutdownable {
for (EventLoopGroup loopGroup : loopGroups) {
shutdownThreadList.add(loopGroup.shutdownGracefully(maxShutdownWaitTimeInMilliSeconds,
maxShutdownWaitTimeInMilliSeconds * 10,
maxShutdownWaitTimeInMilliSeconds * 2,
TimeUnit.MILLISECONDS));
Thread.yield();
}