mirror of
https://github.com/idanoo/NZCovidBot
synced 2025-07-01 19:22:14 +00:00
Decrese polling to 60sec
This commit is contained in:
parent
b37a425589
commit
3fc389f1d6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ func Lesgoooo() {
|
||||||
endTicker := make(chan bool)
|
endTicker := make(chan bool)
|
||||||
|
|
||||||
// Timer to run every minute
|
// Timer to run every minute
|
||||||
minuteTicker := time.NewTicker(time.Duration(15) * time.Second)
|
minuteTicker := time.NewTicker(time.Duration(60) * time.Second)
|
||||||
|
|
||||||
// Initial check on load
|
// Initial check on load
|
||||||
go checkForUpdates()
|
go checkForUpdates()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue