mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-02-22 16:41:28 +08:00
Increase stat refresh interval to 30 seconds
This commit is contained in:
parent
a1488f435e
commit
1ea2829f63
@ -16,7 +16,7 @@ var (
|
||||
)
|
||||
|
||||
func scheduleStatRefresh() {
|
||||
scheduler.AddFunc("@every 10s", func() {
|
||||
scheduler.AddFunc("@every 30s", func() {
|
||||
err := updateStats()
|
||||
if err != nil {
|
||||
log.Printf("failed to update stats: %s", err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user