Optimizer: update every 2min
This commit is contained in:
parent
ae68505bd2
commit
40713a924a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue