mirror of
https://codeberg.org/scip/io-exporter.git
synced 2025-12-17 04:21:00 +01:00
make sleep time configurable
This commit is contained in:
@@ -35,7 +35,7 @@ func Run() {
|
||||
|
||||
metrics.Set(result, elapsed)
|
||||
|
||||
time.Sleep(SLEEP * time.Second)
|
||||
time.Sleep(time.Duration(conf.Sleeptime) * time.Second)
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user