From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: [PATCH] guix-daemon: Add option to disable garbage collection. Date: Thu, 19 Apr 2018 19:07:23 +0200 Message-ID: <87muxzw2es.fsf@gnu.org> References: <87a7uklht1.fsf@gnu.org> <87po3g9znv.fsf@gnu.org> <87vad8o0av.fsf@gnu.org> <874lkijhts.fsf@gnu.org> <87sh7rmuot.fsf@inria.fr> <871sfbcs5t.fsf@gnu.org> <87tvs7jlsc.fsf@inria.fr> <87vacnb52y.fsf@gnu.org> <87vacni5eb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9D22-0003ne-JI for guix-devel@gnu.org; Thu, 19 Apr 2018 13:07:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9D21-0006Ef-Qf for guix-devel@gnu.org; Thu, 19 Apr 2018 13:07:38 -0400 In-reply-to: <87vacni5eb.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Ludovic Courtès writes: > Heya, > > Roel Janssen skribis: > >> From fcbe7ebb3d205cf7310700e62b78b9aafd94f76f Mon Sep 17 00:00:00 2001 >> From: Roel Janssen >> 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! Awesome. Pushed in 5cefb13dd. Thanks! Kind regards, Roel Janssen