diff options
author | Christopher Baines <mail@cbaines.net> | 2021-12-19 17:55:17 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-12-19 17:55:17 +0000 |
commit | 62384a12ed462cacd7639d32162d1b2f3a530d1b (patch) | |
tree | 9ad57eecc15db5561749a0d22fc9516f283cd42e /guix-build-coordinator | |
parent | 226ec0f0f8a10842ffdd50dd464be33b2db45563 (diff) | |
download | build-coordinator-62384a12ed462cacd7639d32162d1b2f3a530d1b.tar build-coordinator-62384a12ed462cacd7639d32162d1b2f3a530d1b.tar.gz |
Don't use an unlimited number of threads for post build actions
Otherwise, when there's a large queue of outputs to upload, there will be a
large number of threads, which can cause issues like exhausting file
descriptors.
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r-- | guix-build-coordinator/agent.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-build-coordinator/agent.scm b/guix-build-coordinator/agent.scm index 0a8552f..c85de7a 100644 --- a/guix-build-coordinator/agent.scm +++ b/guix-build-coordinator/agent.scm @@ -313,7 +313,7 @@ (let*-values (((perform-post-build-actions count-post-build-jobs count-post-build-threads list-post-build-jobs) - (create-work-queue #f ;; One thread per job + (create-work-queue (+ 1 parallel-uploads) (lambda (build thunk) (thunk)))) |