summary refs log tree commit diff
path: root/TODO
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-07-25 21:55:20 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-25 23:24:16 +0200
commit84620dd0c4f8f96cfdafb9a3ce8cce5d36a52b03 (patch)
treec1bb61fa79790fbe0da7bc80d84d51de8ecc0a2f /TODO
parent236cae0628fd02002ec2c5e0405880908f244b56 (diff)
downloadguix-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 'TODO')
0 files changed, 0 insertions, 0 deletions