move the connections closing to a separate threadpool and limit the time we wait for reset() to complete
This commit is contained in:
@@ -18,11 +18,8 @@ class Shutdown extends AbstractLifecycleHandler {
|
||||
|
||||
@Override
|
||||
void execute() {
|
||||
log.info("shutting down")
|
||||
log.info("shutting down from lifecycle")
|
||||
Core core = application.context.get("core")
|
||||
if (core != null) {
|
||||
Thread t = new Thread({ core.shutdown() } as Runnable)
|
||||
t.start()
|
||||
}
|
||||
core?.shutdown()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user