Set %file-port-name-canonicalization when processing jobs

Just in case this helps with performance.
This commit is contained in:
Christopher Baines 2023-12-04 11:06:27 +00:00
parent b9026488ed
commit a3ec1f326d
1 changed files with 9 additions and 8 deletions

View File

@ -73,11 +73,12 @@
(let ((opts (parse-options (cdr (program-arguments)))))
(match (assq-ref opts 'arguments)
((job)
(run-fibers
(lambda ()
(process-load-new-guix-revision-job
job
#:skip-system-tests? (assq-ref opts 'skip-system-tests)))
#:hz 0
#:parallelism (assq-ref opts 'parallelism)
#:drain? #t))))
(with-fluids ((%file-port-name-canonicalization 'none))
(run-fibers
(lambda ()
(process-load-new-guix-revision-job
job
#:skip-system-tests? (assq-ref opts 'skip-system-tests)))
#:hz 0
#:parallelism (assq-ref opts 'parallelism)
#:drain? #t)))))