fix(speed): check every 2s
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Matthieu 'JP' DERASSE 2023-06-22 12:41:05 +00:00
parent d3be6ca49c
commit 01f047037a
Signed by: mderasse
GPG Key ID: 55141C777B16A705

View File

@ -33,7 +33,7 @@ func Init(alertChan chan api.Availability) {
} }
// define an interval and the ticker for this interval // define an interval and the ticker for this interval
interval := time.Duration(5) * time.Second interval := time.Duration(2) * time.Second
// create a new Ticker // create a new Ticker
tk := time.NewTicker(interval) tk := time.NewTicker(interval)