Skip to content

Commit

Permalink
Planner: increase smallGapDuration to 60 minutes (#7419)
Browse files Browse the repository at this point in the history
The reason is that we plan now everything in 60min slots. And with this change we only pause and skip complete slots. That will reduce too much pause events, if the estimator does not fit well to the current configured car.
  • Loading branch information
Hofyyy authored Apr 13, 2023
1 parent 56e27fb commit 947556a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/loadpoint_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

const (
smallSlotDuration = 10 * time.Minute // small planner slot duration we might ignore
smallGapDuration = 30 * time.Minute // small gap duration between planner slots we might ignore
smallGapDuration = 60 * time.Minute // small gap duration between planner slots we might ignore
)

// setPlanActive updates plan active flag
Expand Down

0 comments on commit 947556a

Please sign in to comment.