diff options
author | Roel Janssen <roel@gnu.org> | 2018-04-19 17:11:30 +0200 |
---|---|---|
committer | Roel Janssen <roel@gnu.org> | 2018-04-19 19:06:26 +0200 |
commit | 5cefb13ddd4d51a63a387e74c138035b7b8b8537 (patch) | |
tree | d98bd60a2a5465f58853da7c224810497ebb5ec9 /doc | |
parent | 7c16af4646fac789000495064a13284691dbeb75 (diff) | |
download | guix-5cefb13ddd4d51a63a387e74c138035b7b8b8537.tar guix-5cefb13ddd4d51a63a387e74c138035b7b8b8537.tar.gz |
guix-daemon: Disable garbage collection for remote connections.
* nix/nix-daemon/nix-daemon.cc (isRemoteConnection): New variable.
(performOp): For wopCollectGarbage, throw an error when isRemoteConnection
is set.
(acceptConnection): Set isRemoteConnection when connection is not AF_UNIX.
* tests/guix-daemon.sh: Add a test for the new behavior.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions