[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/66: substitute: Increase TTL from 24h to 36h.
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
43/66: substitute: Increase TTL from 24h to 36h. |
Date: |
Thu, 21 May 2015 12:52:03 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit 054d05c57d6db173ede0090ee3585e6d95ba0fd9
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.
- 24/66: gnu: Add zeromq., (continued)
- 24/66: gnu: Add zeromq., Manolis Fragkiskos Ragkousis, 2015/05/21
- 32/66: gnu: samtools: Install libbam.a library., Manolis Fragkiskos Ragkousis, 2015/05/21
- 38/66: doc: Fix dangling references in the 'sh-symlink' monad example., Manolis Fragkiskos Ragkousis, 2015/05/21
- 37/66: doc: Suggest 'groupadd --system'., Manolis Fragkiskos Ragkousis, 2015/05/21
- 34/66: gnu: Add taskwarrior., Manolis Fragkiskos Ragkousis, 2015/05/21
- 39/66: gnu: Add python-sympy., Manolis Fragkiskos Ragkousis, 2015/05/21
- 35/66: gnu: bamtools: Set rpath via LDFLAGS., Manolis Fragkiskos Ragkousis, 2015/05/21
- 33/66: gnu: Add samtools-0.1.19., Manolis Fragkiskos Ragkousis, 2015/05/21
- 31/66: gnu: samtools: Remove patch-makefile-curses phase., Manolis Fragkiskos Ragkousis, 2015/05/21
- 36/66: doc: Clarify installation from the binary tarball., Manolis Fragkiskos Ragkousis, 2015/05/21
- 43/66: substitute: Increase TTL from 24h to 36h.,
Manolis Fragkiskos Ragkousis <=
- 40/66: gnu: curl: Update to 7.42.1., Manolis Fragkiskos Ragkousis, 2015/05/21
- 44/66: gnu: Add markdown., Manolis Fragkiskos Ragkousis, 2015/05/21
- 47/66: search-paths: Add 'environment-variable-definition'., Manolis Fragkiskos Ragkousis, 2015/05/21
- 49/66: profiles: Use a &message error condition instead of 'error'., Manolis Fragkiskos Ragkousis, 2015/05/21
- 48/66: search-paths: 'evaluate-search-paths' now returns spec/value pairs., Manolis Fragkiskos Ragkousis, 2015/05/21
- 42/66: gnu: Add libwpg., Manolis Fragkiskos Ragkousis, 2015/05/21
- 41/66: guix: build: Fix indentation for --sources in help output., Manolis Fragkiskos Ragkousis, 2015/05/21
- 46/66: search-paths: Add 'evaluate-search-paths', from (guix scripts package)., Manolis Fragkiskos Ragkousis, 2015/05/21
- 45/66: Move search path specifications to (guix search-paths)., Manolis Fragkiskos Ragkousis, 2015/05/21
- 51/66: gnu: Add soil., Manolis Fragkiskos Ragkousis, 2015/05/21