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.
master
Ludovic Courtès 2015-10-21 11:48:45 +02:00
parent 45e1096896
commit cbaf0f11dd
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ Raise an '&http-get-error' condition if downloading fails."
;;; Caching.
;;;
(define (%http-cache-ttl)
(define %http-cache-ttl
;; Time-to-live in seconds of the HTTP cache of in ~/.cache/guix.
(make-parameter
(* 3600 (or (and=> (getenv "GUIX_HTTP_CACHE_TTL")