mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
substitutes: Reduce default negative TTL values.
Previous values were overly conservative and often an annoyance. * guix/substitutes.scm (%narinfo-negative-ttl): Reduce to 2mn. (%narinfo-transient-error-ttl): Reduce to 1mn. Change-Id: I8cff927a15d8203fb370369a56f024b8a14f3cc3
This commit is contained in:
parent
85556e1dab
commit
83698b6fa0
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013-2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2013-2021, 2023-2024 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014 Nikita Karetnikov <nikita@karetnikov.org>
|
||||
;;; Copyright © 2018 Kyle Meyer <kyle@kyleam.com>
|
||||
;;; Copyright © 2020 Christopher Baines <mail@cbaines.net>
|
||||
|
@ -65,11 +65,11 @@ (define %narinfo-ttl
|
|||
|
||||
(define %narinfo-negative-ttl
|
||||
;; Likewise, but for negative lookups---i.e., cached lookup failures (404).
|
||||
(* 10 60))
|
||||
(* 2 60))
|
||||
|
||||
(define %narinfo-transient-error-ttl
|
||||
;; Likewise, but for transient errors such as 504 ("Gateway timeout").
|
||||
(* 5 60))
|
||||
(* 1 60))
|
||||
|
||||
(define %narinfo-cache-directory
|
||||
;; A local cache of narinfos, to avoid going to the network. Most of the
|
||||
|
|
Loading…
Reference in a new issue