Skip to content

Commit

Permalink
chore: send data evey minute instead of 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Mar 30, 2024
1 parent 618fe09 commit 14dedf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 14dedf1

Please sign in to comment.