diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-12-21 22:54:02 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-12-21 23:50:13 +0100 |
commit | bbe66a530a014e8146d63002a5294941e935f863 (patch) | |
tree | 5b7e97cefa1717136d4c4d4794f9f7e9e72743b5 /CODE-OF-CONDUCT | |
parent | 295430f0cfdff1ca517cfa74136b550fecf6efcb (diff) | |
download | guix-patches-bbe66a530a014e8146d63002a5294941e935f863.tar guix-patches-bbe66a530a014e8146d63002a5294941e935f863.tar.gz |
offload: Decompose 'machine-load' into simpler procedures.
* guix/scripts/offload.scm (machine-load): Remove.
(node-load, normalized-load): New procedures.
(choose-build-machine): Call 'open-ssh-session' and 'make-node' from
here; pass the node to 'node-load'.
(check-machine-status): Use 'node-load' instead of 'machine-load'. Call
'disconnect!' on SESSION.
Diffstat (limited to 'CODE-OF-CONDUCT')
0 files changed, 0 insertions, 0 deletions