guix-commits
[Top][All Lists]
Advanced

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

03/09: substitute: Reduce default narinfo negative TTL to 1h.


From: guix-commits
Subject: 03/09: substitute: Reduce default narinfo negative TTL to 1h.
Date: Mon, 12 Oct 2020 12:25:00 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 099d709caf55db44414475c27b7b39f8becb0d64
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Oct 12 17:30:35 2020 +0200

    substitute: Reduce default narinfo negative TTL to 1h.
    
    * guix/scripts/substitute.scm (%narinfo-negative-ttl): Reduce to 1h.
---
 guix/scripts/substitute.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 26613df..7ec170b 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -137,7 +137,7 @@ disabled!~%"))
 
 (define %narinfo-negative-ttl
   ;; Likewise, but for negative lookups---i.e., cached lookup failures (404).
-  (* 3 3600))
+  (* 1 3600))
 
 (define %narinfo-transient-error-ttl
   ;; Likewise, but for transient errors such as 504 ("Gateway timeout").



reply via email to

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