What if newRepairs was empty, or maxBacklog is reached? (Admittedly in the second case "switching on the ticker" is just a no-op, but semantics here are a bit confusing.)