From a69f9cfc6ba6ff332d1e2d8303020d49443ca8cb Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 1 Jan 2023 19:38:31 -0500 Subject: working dedup --- cgi/servers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgi/servers.go') diff --git a/cgi/servers.go b/cgi/servers.go index c751135..58d72c1 100644 --- a/cgi/servers.go +++ b/cgi/servers.go @@ -62,7 +62,7 @@ func startCGIServer(h config.Handler) { } func startTicker(h config.Handler, persister *models.Persister, log *zap.SugaredLogger) { - ticker := time.NewTicker(h.Interval) + ticker := time.NewTicker(h.Interval) // TODO add some random jitter here so handlers dont run at the same exact intervals done := make(chan bool) func() { for { -- cgit v1.2.3