site statistics: update every 15min instead of hourly (#31091)
This commit is contained in:
parent
6d03b3e79c
commit
de33d947c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue