guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] guix-daemon: Add option to disable garbage collection.


From: Ludovic Courtès
Subject: Re: [PATCH] guix-daemon: Add option to disable garbage collection.
Date: Thu, 19 Apr 2018 17:26:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Heya,

Roel Janssen <address@hidden> skribis:

> From fcbe7ebb3d205cf7310700e62b78b9aafd94f76f Mon Sep 17 00:00:00 2001
> From: Roel Janssen <address@hidden>
> Date: Thu, 19 Apr 2018 17:11:30 +0200
> Subject: [PATCH] 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.

LGTM, thanks for the quick reply!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]