From db88db8b200b7b2223d4c908ec5c27be032221f0 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Sun, 15 Jun 2025 16:26:25 +0300 Subject: [PATCH] fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8d75555..d81b70a 100644 --- a/main.go +++ b/main.go @@ -48,7 +48,7 @@ func handlerWrapper(f func(*http.Request) (interface{}, int)) func(http.Response } else { w.WriteHeader(status) } - go writeMetric(start, r.URL.Path, status, int(time.Since(start).Milliseconds()), r.Method) + // go writeMetric(start, r.URL.Path, status, int(time.Since(start).Milliseconds()), r.Method) if r.URL.Path != "/api/v1/take" { log.Printf("%s %d %s", r.URL, status, time.Since(start)) } -- 2.45.2