1
0
mirror of https://github.com/mgerb/ServerStatus synced 2026-01-09 18:52:50 +00:00

add polling interval to configurations - resolves #15

This commit is contained in:
2018-07-18 20:20:44 -05:00
parent 1cd9f139c2
commit bcb57c72a3
4 changed files with 21 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ func scanServers() {
config.Config.Servers[index].Online = serverUp
}
time.Sleep(time.Second * 5)
time.Sleep(time.Second * config.Config.PollingInterval)
}
}