diff --git a/nomad/eval_endpoint.go b/nomad/eval_endpoint.go index 0413ebc4f5be..88ade7847086 100644 --- a/nomad/eval_endpoint.go +++ b/nomad/eval_endpoint.go @@ -234,10 +234,9 @@ func (e *Eval) Ack(args *structs.EvalAckRequest, return err } - // It's not necessary to cancel evals before Ack returns, but it's done here - // to commit canceled evals as close to the Ack'd eval being committed as - // possible. - return cancelCancelableEvals(e.srv) + // Wake up the eval cancelation reaper + e.srv.reapCancelableEvalsCh <- struct{}{} + return nil } // Nack is used to negative acknowledge completion of a dequeued evaluation.