aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-gc.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-17 10:10:30 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-17 10:10:30 +0100
commit232b3d31016439b5600e47d845ffb7c9a4ee4723 (patch)
tree0a80a65687ad3c675c0bb69567b9cc5ea02fb250 /tests/guix-gc.sh
parentef2c6b409568123e760a7dfa22d45fc09e713198 (diff)
downloadpatches-232b3d31016439b5600e47d845ffb7c9a4ee4723.tar
patches-232b3d31016439b5600e47d845ffb7c9a4ee4723.tar.gz
workers: 'pool-idle?' returns true only if the workers are idle.
Fixes <https://bugs.gnu.org/28779>. Reported by Eric Bavier <bavier@cray.com>. * guix/workers.scm (<pool>)[busy]: New field. (worker-thunk): Add #:idle and #:busy and use them. (make-pool): Pass #:busy and #:idle to 'worker-thunk'. Pass a 'busy' value to '%make-pool'. * guix/workers.scm (pool-idle?): Check whether 'pool-busy' returns zero and adjust docstring.
Diffstat (limited to 'tests/guix-gc.sh')
0 files changed, 0 insertions, 0 deletions