substitute: Increase TTL from 24h to 36h.
* guix/scripts/substitute.scm (%narinfo-ttl): Increase to 36h.
This commit is contained in:
parent
2534fc0478
commit
5e6039a48b
|
@ -84,8 +84,10 @@ disabled!~%"))
|
||||||
|
|
||||||
(define %narinfo-ttl
|
(define %narinfo-ttl
|
||||||
;; Number of seconds during which cached narinfo lookups are considered
|
;; Number of seconds during which cached narinfo lookups are considered
|
||||||
;; valid.
|
;; valid. This is a reasonable default value (corresponds to the TTL for
|
||||||
(* 24 3600))
|
;; nginx's .nar cache on hydra.gnu.org) but we'd rather want publishers to
|
||||||
|
;; state what their TTL is in /nix-cache-info. (XXX)
|
||||||
|
(* 36 3600))
|
||||||
|
|
||||||
(define %narinfo-negative-ttl
|
(define %narinfo-negative-ttl
|
||||||
;; Likewise, but for negative lookups---i.e., cached lookup failures.
|
;; Likewise, but for negative lookups---i.e., cached lookup failures.
|
||||||
|
|
Loading…
Reference in New Issue