guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: 01/08: http-client: '%http-cache-ttl' is really a parameter.
Date: Wed, 21 Oct 2015 12:45:33 +0000

civodul pushed a commit to branch master
in repository guix.

commit cbaf0f11ddbe4228ddd3c81af18702ac86ae361c
Author: Ludovic Courtès <address@hidden>
Date:   Wed Oct 21 11:48:45 2015 +0200

    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.
---
 guix/http-client.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/guix/http-client.scm b/guix/http-client.scm
index 8d1cc9b..bee8cdc 100644
--- 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]