delay of fetch is now 5 minutes
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
77b88325cf
commit
f85fb7434d
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func main() {
|
||||||
for _, s := range ss {
|
for _, s := range ss {
|
||||||
serverString := s.ServerIP
|
serverString := s.ServerIP
|
||||||
c := cron.New()
|
c := cron.New()
|
||||||
c.AddFunc("*/1 * * * *", func() { updateServers(serverString, store) })
|
c.AddFunc("*/5 * * * *", func() { updateServers(serverString, store) })
|
||||||
c.Start()
|
c.Start()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue