diff options
author | Florian Klink <flokli@flokli.de> | 2019-12-03T09·58+0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-12-03T09·58+0100 |
commit | 241ec393acb6e7e8c784aeed56e281b13a7bc4c6 (patch) | |
tree | e034c360cd31941c7efd00a75bcc802d9ddf10b9 /main.go | |
parent | 4ea1a5a2f006fa44f3e759929f366efa050025bf (diff) |
main: actually multiply triggerInterval by time.Second, not time.Minute
Otherwise, we'd wait a little bit too long ;-)
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go index 69d94c608230..f939c7e370c4 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) } }() |