mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Remove another println
This commit is contained in:
parent
a2b56e8569
commit
6446479497
|
@ -139,7 +139,7 @@ class ServerManager(
|
||||||
if (state is GracefulStop) {
|
if (state is GracefulStop) {
|
||||||
val timesToWait = settings.serverSettings.gracefulShutdownWaitSeconds / 5
|
val timesToWait = settings.serverSettings.gracefulShutdownWaitSeconds / 5
|
||||||
val requestCounters = registry.find("http.server.request.latency").timers()
|
val requestCounters = registry.find("http.server.request.latency").timers()
|
||||||
println(requestCounters)
|
|
||||||
val curRequests = requestCounters.map { it.count() }.sum()
|
val curRequests = requestCounters.map { it.count() }.sum()
|
||||||
val noRequests = lastRequests >= curRequests
|
val noRequests = lastRequests >= curRequests
|
||||||
when {
|
when {
|
||||||
|
|
Loading…
Reference in a new issue