From 5101648c942e9778c78ab75c617ade4d94a3d413 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 29 Oct 2024 19:38:10 -0300 Subject: [PATCH] fixup! v2 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index f74c672..0bdf1c1 100644 --- a/main.go +++ b/main.go @@ -154,7 +154,7 @@ func requestPerMinute() { for { time.Sleep(60 * time.Second) current := stats_.RequestCount - stats_.RequestPerSecond = current - last + stats_.RequestPerMinute = current - last last = current } }