From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gIIqBfWBmmDJhQAAgWs5BA (envelope-from ) for ; Tue, 11 May 2021 15:09:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QLG4APWBmmDgcwAAbx9fmQ (envelope-from ) for ; Tue, 11 May 2021 13:09:09 +0000 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 9C63D901C for ; Tue, 11 May 2021 15:09:08 +0200 (CEST) Received: from localhost ([::1]:58918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgS8J-0004Qx-JT for larch@yhetil.org; Tue, 11 May 2021 09:09:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgS8E-0004QP-K4 for guix-patches@gnu.org; Tue, 11 May 2021 09:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgS8E-0006BP-CT for guix-patches@gnu.org; Tue, 11 May 2021 09:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgS8E-0003vi-7H for guix-patches@gnu.org; Tue, 11 May 2021 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47897] [PATCH 2/2] substitutes: Reduce negative TTLs. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 May 2021 13:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47897 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47897@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 47897-submit@debbugs.gnu.org id=B47897.162073853915090 (code B ref 47897); Tue, 11 May 2021 13:09:02 +0000 Received: (at 47897) by debbugs.gnu.org; 11 May 2021 13:08:59 +0000 Received: from localhost ([127.0.0.1]:35350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgS8B-0003vI-AY for submit@debbugs.gnu.org; Tue, 11 May 2021 09:08:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgS89-0003uz-Fr for 47897@debbugs.gnu.org; Tue, 11 May 2021 09:08:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48408) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgS84-00062z-Bl; Tue, 11 May 2021 09:08:52 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57486 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgS83-0004e7-Ra; Tue, 11 May 2021 09:08:52 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 11 May 2021 15:08:42 +0200 Message-Id: <20210511130842.32381-2-ludo@gnu.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210511130842.32381-1-ludo@gnu.org> References: <87wnsthpyn.fsf@cbaines.net> <20210511130842.32381-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620738548; 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-cc: 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; bh=nEyM23yglUtjgNigaQkKepaz7oWhOoptZGoisWG2PmM=; b=XcoryaJQGZxbRa9KHGYTeaTk2ct00ie0lrfPjWr2Af48d0noazK4uXmwo5PpcY3N8zpRqL 6hQFE8A4QxfKUTfHgZBt1M7NvdUFfMQjfQOQ3+QazStpKVO3lljWRZHJ4AsvXLDLEJgsUD i7fMmYmpNuPNQtxSvmyB6nRJBio691336e9s9hI89/KcG/MRFnqQrEQPRVkaGoij93FGvR PJ+tb5MzxbKZdPQarnzb3TwtkwCirHz9uSNc3NW6LRN7Ljrmpu3GesOpfE8Gi77w57hmBP ThQN1VbJpA48JvlyCfi7ItjoM3N+SyhREtfCTm92E9GzaQynZhwarTtfzBMcow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620738548; a=rsa-sha256; cv=none; b=pMPypKU3wd6n92lP4qlF9z+B/2CRz712lkpqEylCu267hAYsS+wKHL5FdOfaXKTBoyr2Kn fDbxaEBDcE+B2gZusZG5ZrbT/P73ZsBxx2txyX7UvkK8X73zGJgA4R9K0OMrE+YLZLmTOo BRehEgP9KDdUU+mqfVgn3GHXJpb1d8x4gzqSsBMTf4JMdQoc1Jov0h7PiqUWETc4Py+D35 FmH8Yl6UkFVbaiZqGGD8vVMfy4LmxeK/FawS1tP1vThtVQNgRsjQn6iMTZigzyxlAAJe0g nQis8lq82QirMHMX74s2+1tcK5+m9jU46BB15Rj1Nppn3ppNaCe7wnpY6eW78Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9C63D901C X-Spam-Score: -1.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: jkqPCTZyyF3v * guix/substitutes.scm (%narinfo-negative-ttl): Change to 15mn. (%narinfo-transient-error-ttl): Halve. --- guix/substitutes.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guix/substitutes.scm b/guix/substitutes.scm index 08f8c24efd..c1b036e42c 100644 --- a/guix/substitutes.scm +++ b/guix/substitutes.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès ;;; Copyright © 2014 Nikita Karetnikov ;;; Copyright © 2018 Kyle Meyer ;;; Copyright © 2020 Christopher Baines @@ -72,11 +72,11 @@ (define %narinfo-negative-ttl ;; Likewise, but for negative lookups---i.e., cached lookup failures (404). - (* 1 3600)) + (* 15 60)) (define %narinfo-transient-error-ttl ;; Likewise, but for transient errors such as 504 ("Gateway timeout"). - (* 10 60)) + (* 5 60)) (define %narinfo-cache-directory ;; A local cache of narinfos, to avoid going to the network. Most of the -- 2.31.1