aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/servers.go2
1 files changed, 1 insertions, 1 deletions
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 {