guix-commits
[Top][All Lists]
Advanced

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

01/02: hydra: bayfront: Increase TTL for published elements; use fewer w


From: Ludovic Courtès
Subject: 01/02: hydra: bayfront: Increase TTL for published elements; use fewer workers.
Date: Fri, 5 May 2017 07:49:38 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit d4a1225cb1876c3f6564f5990623ecde9d3bc917
Author: Ludovic Courtès <address@hidden>
Date:   Fri May 5 13:44:58 2017 +0200

    hydra: bayfront: Increase TTL for published elements; use fewer workers.
    
    * hydra/bayfront.scm <guix-publish-configuration>: Increase 'ttl' and
    add 'workers' field.
---
 hydra/bayfront.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 5470d5c..5550700 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -190,7 +190,9 @@ Happy hacking!\n"))
                             (guix-publish-configuration
                              (port 3000)
                              (cache "/var/cache/guix/publish")
-                             (ttl (* 14 24 3600))))
+                             (ttl (* 45 24 3600))
+                             (workers 3)))        ;XXX: to reduce load
+
                    (nginx-service #:config-file
                                   (file-append %nginx-config
                                                "/bayfront.conf"))



reply via email to

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