From de33d947c0cfd0424dfd1eed0e7bcc6db3d5e3a2 Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 22 Jun 2026 16:50:21 +0200 Subject: [PATCH] site statistics: update every 15min instead of hourly (#31091) --- core/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/stats.go b/core/stats.go index cba371c3b..2d915eaf8 100644 --- a/core/stats.go +++ b/core/stats.go @@ -29,7 +29,7 @@ func NewStats() *Stats { // Update publishes stats based on charging sessions func (s *Stats) Update(p publisher) { - if time.Since(s.updated) < time.Hour { + if time.Since(s.updated) < 15*time.Minute { return }