http-client: '%http-cache-ttl' is really a parameter.
Fixes a typo in commit 739ab68
that made it a procedure returning a
parameter.
* guix/http-client.scm (%http-cache-ttl): Turn into a parameter.
This commit is contained in:
parent
45e1096896
commit
cbaf0f11dd
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ Raise an '&http-get-error' condition if downloading fails."
|
||||||
;;; Caching.
|
;;; Caching.
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
(define (%http-cache-ttl)
|
(define %http-cache-ttl
|
||||||
;; Time-to-live in seconds of the HTTP cache of in ~/.cache/guix.
|
;; Time-to-live in seconds of the HTTP cache of in ~/.cache/guix.
|
||||||
(make-parameter
|
(make-parameter
|
||||||
(* 3600 (or (and=> (getenv "GUIX_HTTP_CACHE_TTL")
|
(* 3600 (or (and=> (getenv "GUIX_HTTP_CACHE_TTL")
|
||||||
|
|
Reference in a new issue