diff --git a/core/loadpoint.go b/core/loadpoint.go index f51538a3bb..7d8d497b6e 100644 --- a/core/loadpoint.go +++ b/core/loadpoint.go @@ -451,8 +451,12 @@ func (lp *LoadPoint) update() { // execute loading strategy switch mode := lp.GetMode(); mode { case api.ModeOff: + // apply immediately + lp.guardUpdated = lp.clock.Now() err = lp.rampOff() case api.ModeNow: + // apply immediately + lp.guardUpdated = lp.clock.Now() // ensure that new connections happen at min current current := lp.MinCurrent if lp.connected() {