From d15e50025c93b4df412051fee1cbfecd455fb91f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 9 Feb 2021 23:33:25 +0100 Subject: [PATCH] root: log runtime in milliseconds --- authentik/root/asgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/root/asgi.py b/authentik/root/asgi.py index 2beb79dd0..a7aaa605b 100644 --- a/authentik/root/asgi.py +++ b/authentik/root/asgi.py @@ -90,7 +90,7 @@ class ASGILogger: if message["type"] == "http.response.body" and not message.get( "more_body", None ): - runtime = int((time() - self.start) * 10 ** 6) + runtime = int((time() - self.start) * 1000) self.log(runtime) await send(message)