chore: update comment

This commit is contained in:
andig 2022-12-30 17:12:40 +01:00
parent e115b3c3bf
commit 968a40140a

View file

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