about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-12-03T09·58+0100
committerFlorian Klink <flokli@flokli.de>2019-12-03T09·58+0100
commit241ec393acb6e7e8c784aeed56e281b13a7bc4c6 (patch)
treee034c360cd31941c7efd00a75bcc802d9ddf10b9 /main.go
parent4ea1a5a2f006fa44f3e759929f366efa050025bf (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.go2
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)
 			}
 		}()