diff --git a/manager/container.go b/manager/container.go index 0f9c7ac7..0dca1b95 100644 --- a/manager/container.go +++ b/manager/container.go @@ -416,6 +416,8 @@ func (c *containerData) housekeeping() { // Schedule the next housekeeping. Sleep until that time. if time.Now().Before(next) { time.Sleep(next.Sub(time.Now())) + } else { + next = time.Now() } lastHousekeeping = next }