Increase stat refresh interval to 30 seconds
parent
a1488f435e
commit
1ea2829f63
|
@ -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…
Reference in New Issue