From 14dedf15d75514183714f22b4715508fe3111822 Mon Sep 17 00:00:00 2001 From: Tanmoy Sarkar <57363826+tanmoysrt@users.noreply.github.com> Date: Sat, 30 Mar 2024 16:01:50 +0000 Subject: [PATCH] chore: send data evey minute instead of 10s --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5343e53..ae5d23b 100644 --- a/main.go +++ b/main.go @@ -146,7 +146,7 @@ func run(submissionEndpoint, authorizationHeaderVal string) { _, _ = host.Stats() // intentionally called. just to initialize current network stats _, _ = service.Stats(dockerClient) // intentionally called. just to initialize current service net stats for { - <-time.After(10 * time.Second) + <-time.After(1 * time.Minute) // fetch stats statsData, err := fetchStats(dockerClient) if err != nil {