diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-07-25 21:55:20 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-07-25 23:24:16 +0200 |
commit | 84620dd0c4f8f96cfdafb9a3ce8cce5d36a52b03 (patch) | |
tree | c1bb61fa79790fbe0da7bc80d84d51de8ecc0a2f /gnu/packages/indent.scm | |
parent | 236cae0628fd02002ec2c5e0405880908f244b56 (diff) | |
download | guix-84620dd0c4f8f96cfdafb9a3ce8cce5d36a52b03.tar.gz |
offload: Fix potential file descriptor and memory leak.
The '%slots' list could grow indefinitely; in practice though, guix-daemon is likely to restart 'guix offload' often enough. * guix/scripts/offload.scm (%slots): Remove. (choose-build-machine): Don't 'set!' %SLOTS. Return the acquired slot as a second value. (process-request): Adjust accordingly. Release the returned slot after 'transfer-and-offload'.
Diffstat (limited to 'gnu/packages/indent.scm')
0 files changed, 0 insertions, 0 deletions