mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Adjust shutdown timings
This commit is contained in:
parent
f02c47ca1f
commit
919c5151b0
|
@ -112,8 +112,8 @@ class Netty(private val tls: TlsCert, private val clientSettings: ClientSettings
|
|||
}
|
||||
|
||||
override fun stop() = apply {
|
||||
masterGroup.shutdownGracefully(5, 15, TimeUnit.SECONDS).sync()
|
||||
workerGroup.shutdownGracefully(5, 15, TimeUnit.SECONDS).sync()
|
||||
masterGroup.shutdownGracefully(1, 15, TimeUnit.SECONDS).sync()
|
||||
workerGroup.shutdownGracefully(1, 15, TimeUnit.SECONDS).sync()
|
||||
closeFuture.sync()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue