make sleep time configurable

This commit is contained in:
2025-10-21 09:43:42 +02:00
parent f1a07a1f63
commit e9a4c46044
2 changed files with 8 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ func Run() {
metrics.Set(result, elapsed)
time.Sleep(SLEEP * time.Second)
time.Sleep(time.Duration(conf.Sleeptime) * time.Second)
}
}()