[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: substitute: Increase TTL from 24h to 36h.
From: |
Ludovic Courtès |
Subject: |
01/08: substitute: Increase TTL from 24h to 36h. |
Date: |
Mon, 04 May 2015 21:30:59 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 5e6039a48b136d34d21b34237617d77580566e51
Author: Ludovic Courtès <address@hidden>
Date: Mon May 4 15:38:30 2015 +0200
substitute: Increase TTL from 24h to 36h.
* guix/scripts/substitute.scm (%narinfo-ttl): Increase to 36h.
---
guix/scripts/substitute.scm | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index b9983c5..ae97f74 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -84,8 +84,10 @@ disabled!~%"))
(define %narinfo-ttl
;; Number of seconds during which cached narinfo lookups are considered
- ;; valid.
- (* 24 3600))
+ ;; valid. This is a reasonable default value (corresponds to the TTL for
+ ;; 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
;; Likewise, but for negative lookups---i.e., cached lookup failures.
- branch master updated (2534fc0 -> 954cea3), Ludovic Courtès, 2015/05/04
- 01/08: substitute: Increase TTL from 24h to 36h.,
Ludovic Courtès <=
- 02/08: gnu: Add markdown., Ludovic Courtès, 2015/05/04
- 05/08: search-paths: Add 'environment-variable-definition'., Ludovic Courtès, 2015/05/04
- 07/08: profiles: Use a &message error condition instead of 'error'., Ludovic Courtès, 2015/05/04
- 06/08: search-paths: 'evaluate-search-paths' now returns spec/value pairs., Ludovic Courtès, 2015/05/04
- 03/08: Move search path specifications to (guix search-paths)., Ludovic Courtès, 2015/05/04
- 08/08: records: Make 'make-syntactic-constructor' available at load/eval/expand., Ludovic Courtès, 2015/05/04
- 04/08: search-paths: Add 'evaluate-search-paths', from (guix scripts package)., Ludovic Courtès, 2015/05/04