aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-05-11 07:03:13 +0100
committerChristopher Baines <mail@cbaines.net>2024-05-11 07:03:13 +0100
commit9175a4a0f0e1e32844476a271ca5273e0c862c74 (patch)
treeea81a6c44fcd313c9423c783685a1e3ba4450e5e
parentbdfaab91e82d7d43c35405da3b18c46cde8096de (diff)
downloadbffe-9175a4a0f0e1e32844476a271ca5273e0c862c74.tar
bffe-9175a4a0f0e1e32844476a271ca5273e0c862c74.tar.gz
Set %file-port-name-canonicalization to 'none
As this might improve performance.
-rw-r--r--bffe.scm33
1 files changed, 17 insertions, 16 deletions
diff --git a/bffe.scm b/bffe.scm
index 5b3d428..405937e 100644
--- a/bffe.scm
+++ b/bffe.scm
@@ -57,20 +57,21 @@
(open-log! lgr)
(set-default-logger! lgr)
- (let ((finished? (make-condition)))
- (call-with-sigint
- (lambda ()
- (run-fibers
- (lambda ()
- (for-each start-submit-builds-fibers
- build)
+ (with-fluids ((%file-port-name-canonicalization 'none))
+ (let ((finished? (make-condition)))
+ (call-with-sigint
+ (lambda ()
+ (run-fibers
+ (lambda ()
+ (for-each start-submit-builds-fibers
+ build)
- (when web-server-args
- (apply start-bffe-web-server
- `(,@web-server-args
- #:pid-file ,pid-file
- #:metrics-registry ,metrics-registry)))
- (wait finished?))
- #:hz 0
- #:parallelism 1))
- finished?))))
+ (when web-server-args
+ (apply start-bffe-web-server
+ `(,@web-server-args
+ #:pid-file ,pid-file
+ #:metrics-registry ,metrics-registry)))
+ (wait finished?))
+ #:hz 0
+ #:parallelism 1))
+ finished?)))))