chore: fix horizon
This commit is contained in:
parent
087f9bb10b
commit
00216f46af
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ func (site *Site) optimizerUpdate(battery []types.Measurement) error {
|
|||
}
|
||||
|
||||
// limit to 2 days for sake of performance
|
||||
minLen = min(96, minLen)
|
||||
minLen = min(2*96, minLen)
|
||||
|
||||
if expectedSlots := 8; minLen < expectedSlots {
|
||||
if solarTariff != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue