guix-commits
[Top][All Lists]
Advanced

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

branch master updated: hydra: services: Increase cache-bypass-threshold


From: Ludovic Courtès
Subject: branch master updated: hydra: services: Increase cache-bypass-threshold to 50 MiB (from 10 MiB).
Date: Fri, 06 Nov 2020 06:32:16 -0500

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new add9906  hydra: services: Increase cache-bypass-threshold to 50 MiB 
(from 10 MiB).
add9906 is described below

commit add990671895761402bf8bf21d5c754ef7e76b7e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Nov 6 12:30:46 2020 +0100

    hydra: services: Increase cache-bypass-threshold to 50 MiB (from 10 MiB).
    
    * hydra/modules/sysadmin/services.scm (frontend-services): Add
     #:cache-bypass-threshold and use it in 'guix-publish-configuration'.
---
 hydra/modules/sysadmin/services.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hydra/modules/sysadmin/services.scm 
b/hydra/modules/sysadmin/services.scm
index cda7458..cfa567a 100644
--- a/hydra/modules/sysadmin/services.scm
+++ b/hydra/modules/sysadmin/services.scm
@@ -462,6 +462,7 @@
                             (authorized-keys authorized-keys)
                             (motd %default-motd)
                             (nar-ttl (* 90 24 3600))
+                            (cache-bypass-threshold (* 50 (expt 2 20))) ;50 MiB
                             (publish-workers 6))
   "Return the list of services for the build farm frontend."
   (cons* (service mcron-service-type
@@ -478,6 +479,7 @@
                    (cache "/var/cache/guix/publish")
                    (ttl nar-ttl)
                    (compression '(("gzip" 9) ("lzip" 9)))
+                   (cache-bypass-threshold cache-bypass-threshold)
                    (workers publish-workers)))
 
          %nginx-mime-types



reply via email to

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