From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0MUgJldNgmSmQQEASxT56A (envelope-from ) for ; Thu, 08 Jun 2023 23:51:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kFMZJldNgmT6XwAAauVa8A (envelope-from ) for ; Thu, 08 Jun 2023 23:51:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5A7B7FDB4 for ; Thu, 8 Jun 2023 23:51:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7NX6-0003kN-GW; Thu, 08 Jun 2023 17:51:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7NX4-0003jy-DQ for guix-patches@gnu.org; Thu, 08 Jun 2023 17:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7NX4-0006Nc-06 for guix-patches@gnu.org; Thu, 08 Jun 2023 17:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7NX3-0007HD-Sh for guix-patches@gnu.org; Thu, 08 Jun 2023 17:51:01 -0400 Subject: bug#63817: [PATCH] substitute: Delete cached narinfos more than two-month old. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 08 Jun 2023 21:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63817 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63817-done@debbugs.gnu.org Cc: Josselin Poiret , Tobias Geerinckx-Rice , Simon Tournier , Mathieu Othacehe , Christopher Baines , Ricardo Wurmus Mail-Followup-To: 63817@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 63817-done@debbugs.gnu.org id=D63817.168626100427896 (code D ref 63817); Thu, 08 Jun 2023 21:51:01 +0000 Received: (at 63817-done) by debbugs.gnu.org; 8 Jun 2023 21:50:04 +0000 Received: from localhost ([127.0.0.1]:57825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7NW8-0007Fs-IO for submit@debbugs.gnu.org; Thu, 08 Jun 2023 17:50:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7NW6-0007En-Vj for 63817-done@debbugs.gnu.org; Thu, 08 Jun 2023 17:50:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7NVx-0005jp-Ia; Thu, 08 Jun 2023 17:49:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=s5Xgs5lSumovTvLTjfEvOpoEekFql0KJDWt/+Ro/CkE=; b=km9g9ipReelGSRWg7yik BWecEp5jKwUjax9BEKWism16mxcuH4+NscV5KAB0AMvyDJ4E/j35WcS1zELKqufwa2OwmecEIif2g gwil0W8cLca1riOFOkKDSIP6lS4H/tyxXqfmr5pbB9i14XhNjONRpg+9TCTsrUZQkkCsJEeEDq5dm dmW8LI+IviEBHgl1eNlDkuV0OCmgWNcY69dHo65sopg7RO1cMzFrEDSifcKmomShNlG+eyY2U9RDY vfJsRm2WYCLyYmXQfVracusF1FG3U12VBnPCnUtL8/NkC/hk5DdXuZ01dD462LPsfiJVabcQYj6sQ NSz0w0C++r0TIg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7NVv-0007Ou-SR; Thu, 08 Jun 2023 17:49:53 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Thu, 08 Jun 2023 23:49:50 +0200 In-Reply-To: ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 31 May 2023 23:22:01 +0200") Message-ID: <87h6rhy681.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686261079; a=rsa-sha256; cv=none; b=YWrTQ+x3Ui2Q47baM+ThnSaDijsJJQ5qA3AkeQZjeqhrvy7tpITWp+AY9tv95NHGRSBefU DrbMUEkatg9xkAbB68BzolBOhWt3cku/fFMErZAQf2JD8lnQWFYqwuJdQBAAhgFU1MqSVR J34H8v+RTxXbKptUSjfaNdZjczL07X6w89jwBGY9UW3FBJhAcwU9Zw8iVT5E5QW9HtZzXB OPMvWMb+051F+d12i9VTH7D4awUiDcstMfOuEnxuehgKfMtlYoljtqUKBMuArGP2uWnPYJ JsgtjyizcUcEXqXivN33+l6Zj+kGvwX6xkausz0FvweaINurzn1CJsRAo5AnTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=km9g9ipR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686261079; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=s5Xgs5lSumovTvLTjfEvOpoEekFql0KJDWt/+Ro/CkE=; b=EcoJrWeetNBdVIcsQSpH0EjuCC7DG87QEZVG2dgrHUz5a6omErs5OHcARH+5NJzntoVVRF ipFXGB4arxD5QqsTyshQ0HBWo2DJagClz1FobWrFySH+5ZqDX6wTBvcaQITKEbiD+hKcXj rybVKfcgKjmcEblZvaJEf5qEyJf08f1+vWU3/FPDb61gl81dGphBmb1ZOU2jumPBvJHBJo ShUlt5VP5VV4juCK+rZLVfXgjaap2GU3A0ZxnxHlshwGzPF5icSKW5LGZekE2bsK7/V+s+ jVPaebNamILRwm5AiA9zOrE2S+IDyclSVzhh/yWEs/PogZ3NqTxpRO2Q5FF06A== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=km9g9ipR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.51 X-Spam-Score: -3.51 X-Migadu-Queue-Id: 5A7B7FDB4 X-TUID: mhmJ/ZcVhaTh Ludovic Court=C3=A8s skribis: > This allows 'guix substitute' to shrink the cache a bit more, which > saves space and improves performance of cache-cleanup phases since fewer > entries need to be traversed. > > * guix/scripts/substitute.scm (cached-narinfo-expiration-time): Define > 'max-ttl' and use it as an upper bound. Pushed as 3f5e14182931f123c10513a3e1e2abaebfb52279. Ludo'.