Increase stat refresh interval to 30 seconds

oauth2
maru 2024-04-25 16:16:35 -04:00
parent a1488f435e
commit 1ea2829f63
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D
1 changed files with 1 additions and 1 deletions

View File

@ -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)