Planner: increase smallGapDuration to 60 minutes (#7419)

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.
This commit is contained in:
Hofy 2023-04-13 19:52:31 +02:00 • committed by GitHub
parent 56e27fba7c
commit 947556a4a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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