diff options
author | Christopher Baines <mail@cbaines.net> | 2021-05-28 17:19:21 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-05-28 17:19:21 +0100 |
commit | d7e6bd9ed0d4c35716475d27eb53b653cb0bbda1 (patch) | |
tree | e6adb604c14cc04d2c2cee45f972c48bf188a01d /guix-build-coordinator | |
parent | e2c8ed2873cd475c66e487f52ec1d0dd0a31c6f8 (diff) | |
download | build-coordinator-d7e6bd9ed0d4c35716475d27eb53b653cb0bbda1.tar build-coordinator-d7e6bd9ed0d4c35716475d27eb53b653cb0bbda1.tar.gz |
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.
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r-- | guix-build-coordinator/utils.scm | 6 |
1 files 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 () |