HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e1096
)
http-client: '%http-cache-ttl' is really a parameter.
author
Ludovic Courtès
<ludo@gnu.org>
Wed, 21 Oct 2015 09:48:45 +0000
(11:48 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Wed, 21 Oct 2015 12:43:34 +0000
(14:43 +0200)
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.
guix/http-client.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/http-client.scm
b/guix/http-client.scm
index
8d1cc9b
..
bee8cdc
100644
(file)
--- a/
guix/http-client.scm
+++ b/
guix/http-client.scm
@@
-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")