From 241ec393acb6e7e8c784aeed56e281b13a7bc4c6 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 3 Dec 2019 10:58:39 +0100 Subject: [PATCH] main: actually multiply triggerInterval by time.Second, not time.Minute Otherwise, we'd wait a little bit too long ;-) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 69d94c608..f939c7e37 100644 --- a/main.go +++ b/main.go @@ -112,7 +112,7 @@ func main() { // ticker go func() { for { - time.Sleep(time.Duration(triggerInterval) * time.Minute) + time.Sleep(time.Duration(triggerInterval) * time.Second) runner.Trigger(fetchOnly) } }()