Optimizer: update every 2min

This commit is contained in:
andig 2025-10-18 10:14:52 +02:00
parent ae68505bd2
commit 40713a924a

View file

@ -48,7 +48,7 @@ type responseDetails struct {
}
func (site *Site) optimizerUpdateAsync(battery []measurement) {
if time.Since(updated) < 5*time.Minute {
if time.Since(updated) < 2*time.Minute {
return
}