cuirass: Place web server fiber on its own core.

* bin/cuirass.in (main): Pass #:parallel? to 'spawn-fiber' for the web
server.
This commit is contained in:
Ludovic Courtès 2018-01-27 19:31:06 +01:00
parent 0098e613db
commit a8c2a8fda6
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
'web-server exit-channel
(lambda ()
(with-database db
(run-cuirass-server db #:host host #:port port)))))
(run-cuirass-server db #:host host #:port port))))
#:parallel? #t)
(primitive-exit (get-message exit-channel))))))