87a6d6ea7a
Fixes <https://issues.guix.gnu.org/67502>. Since ‘run-fibers’ binds each thread to one core by default, ‘current-processor-count’ when called from within ‘run-fibers’ on a machine with 4 or fewer cores would always return 1. * src/cuirass/scripts/remote-worker.scm (worker-management-thunk): Add ‘cpu-count’ parameter and use it instead of calling ‘current-processor-count’. (cuirass-remote-worker): Call ‘current-processor-count’ outside ‘run-fibers’ and pass the result to ‘worker-management-thunk’. |
||
---|---|---|
.. | ||
cuirass | ||
sql | ||
static | ||
web/server | ||
cuirass.scm | ||
schema.sql |