fix(speed): check every 2s
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d3be6ca49c
commit
01f047037a
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user