Skip to content
Snippets Groups Projects
Commit cbaf0f11 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

http-client: '%http-cache-ttl' is really a parameter.

Fixes a typo in commit 739ab68b that made it a procedure returning a
parameter.

* guix/http-client.scm (%http-cache-ttl): Turn into a parameter.
parent 45e10968
No related branches found
No related tags found
No related merge requests found
......@@ -241,7 +241,7 @@ (define* (http-fetch uri #:key port (text? #f) (buffered? #t))
;;; 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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment