substitute: Reduce default narinfo negative TTL to 1h.

* guix/scripts/substitute.scm (%narinfo-negative-ttl): Reduce to 1h.
This commit is contained in:
Ludovic Courtès 2020-10-12 17:30:35 +02:00
parent d3162b98a8
commit 099d709caf
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -137,7 +137,7 @@ (define %narinfo-ttl
(define %narinfo-negative-ttl (define %narinfo-negative-ttl
;; Likewise, but for negative lookups---i.e., cached lookup failures (404). ;; Likewise, but for negative lookups---i.e., cached lookup failures (404).
(* 3 3600)) (* 1 3600))
(define %narinfo-transient-error-ttl (define %narinfo-transient-error-ttl
;; Likewise, but for transient errors such as 504 ("Gateway timeout"). ;; Likewise, but for transient errors such as 504 ("Gateway timeout").