From 968a40140a4116a8a774221b68f925711ce3f7bf Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 30 Dec 2022 17:12:40 +0100 Subject: [PATCH] chore: update comment --- core/loadpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/loadpoint.go b/core/loadpoint.go index b159c4bff..017ed17a0 100644 --- a/core/loadpoint.go +++ b/core/loadpoint.go @@ -811,7 +811,7 @@ func (lp *Loadpoint) plannerActive() (active bool) { lp.log.DEBUG.Println("continuing after target time") active = true case lp.clock.Now().Before(lp.planSlotEnd) && !lp.planSlotEnd.IsZero(): - // TODO why are we doing this + // don't stop an already running slot if goal was not met lp.log.DEBUG.Println("continuing until end of slot") active = true case requiredDuration < 30*time.Minute: