From 947556a4a2fcabb80ef332b9358297c9d8100e7f Mon Sep 17 00:00:00 2001 From: Hofy <68365998+Hofyyy@users.noreply.github.com> Date: Thu, 13 Apr 2023 19:52:31 +0200 Subject: [PATCH] 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. --- core/loadpoint_plan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/loadpoint_plan.go b/core/loadpoint_plan.go index d5889b799..9ecada552 100644 --- a/core/loadpoint_plan.go +++ b/core/loadpoint_plan.go @@ -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