1
0
Fork 1
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:
carbotaniuman 2021-01-28 11:03:41 -06:00
parent a2b56e8569
commit 6446479497

View file

@ -139,7 +139,7 @@ class ServerManager(
if (state is GracefulStop) {
val timesToWait = settings.serverSettings.gracefulShutdownWaitSeconds / 5
val requestCounters = registry.find("http.server.request.latency").timers()
println(requestCounters)
val curRequests = requestCounters.map { it.count() }.sum()
val noRequests = lastRequests >= curRequests
when {