Increase stat refresh interval to 30 seconds

pull/4/head
maru 7 months ago
parent a1488f435e
commit 1ea2829f63
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D

@ -16,7 +16,7 @@ var (
) )
func scheduleStatRefresh() { func scheduleStatRefresh() {
scheduler.AddFunc("@every 10s", func() { scheduler.AddFunc("@every 30s", func() {
err := updateStats() err := updateStats()
if err != nil { if err != nil {
log.Printf("failed to update stats: %s", err) log.Printf("failed to update stats: %s", err)

Loading…
Cancel
Save