aboutsummaryrefslogtreecommitdiff
path: root/config-daemon.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-03-01 01:31:18 +0100
committerLudovic Courtès <ludo@gnu.org>2014-03-01 01:31:18 +0100
commit165f4b2add7f292877d67d58c9f6cf9d1c137e70 (patch)
tree85267cc09908eb0c5a3a05d71b18e9d3993bcde3 /config-daemon.ac
parent36b56f081b5c84c48d2d5e47cab16ef2fefcc11a (diff)
downloadgnu-guix-165f4b2add7f292877d67d58c9f6cf9d1c137e70.tar
gnu-guix-165f4b2add7f292877d67d58c9f6cf9d1c137e70.tar.gz
offload: Take the target machine load into account.
* guix/scripts/offload.scm (machine-load, machine-less-loaded?, machine-less-loaded-or-faster?): New procedures. (choose-build-machine): Use 'machine-less-loaded-or-faster?' when sorting. Return the head of MACHINES unless it's loaded is >= 2.
Diffstat (limited to 'config-daemon.ac')
0 files changed, 0 insertions, 0 deletions