From d7e6bd9ed0d4c35716475d27eb53b653cb0bbda1 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 28 May 2021 17:19:21 +0100 Subject: Don't automatically requeue jobs Even if they aren't requeued, the agent should learn about the job again from the coordinator. I'm mostly removing this, because I'm seeing agents seemingly process the same job twice at the same time, and I wonder if it's related. --- guix-build-coordinator/utils.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guix-build-coordinator/utils.scm b/guix-build-coordinator/utils.scm index d142c78..9be4f4c 100644 --- a/guix-build-coordinator/utils.scm +++ b/guix-build-coordinator/utils.scm @@ -713,10 +713,8 @@ References: ~a~%" (with-exception-handler (lambda (exn) (simple-format (current-error-port) - "requeuing job due to exception: ~A\n" - exn) - ;; Add the job back to the queue so that it's tried again - (apply process-job job-args)) + "job raised exception: ~A\n" + job-args)) (lambda () (with-throw-handler #t (lambda () -- cgit v1.2.3