delay of fetch is now 5 minutes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Philipp 2021-09-20 22:58:50 +02:00
parent 77b88325cf
commit f85fb7434d

View file

@ -38,7 +38,7 @@ func main() {
for _, s := range ss {
serverString := s.ServerIP
c := cron.New()
c.AddFunc("*/1 * * * *", func() { updateServers(serverString, store) })
c.AddFunc("*/5 * * * *", func() { updateServers(serverString, store) })
c.Start()
}