guix-commits
[Top][All Lists]
Advanced

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

02/03: hydra: bayfront: Remove config for unused nginx caches.


From: Ludovic Courtès
Subject: 02/03: hydra: bayfront: Remove config for unused nginx caches.
Date: Mon, 18 Dec 2023 09:01:58 -0500 (EST)

civodul pushed a commit to branch master
in repository maintenance.

commit f1f4015cd380e99f81100f2d0fd35d542bd933cb
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 18 14:54:34 2023 +0100

    hydra: bayfront: Remove config for unused nginx caches.
    
    * hydra/bayfront.scm (%bayfront-nginx-service-extra-config): Remove
    ‘proxy_cache_path’ directives for unused caches.
---
 hydra/bayfront.scm | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index c6e4452..0ae6187 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -318,27 +318,6 @@ proxy_http_version 1.1;
 # case: all that matters is that LRU sweeping happens when
 # 'max_size' is hit.
 
-# cache for nar files
-proxy_cache_path /var/cache/nginx/nar
-                 levels=2
-                 inactive=8d           # inactive keys removed after 8d
-                 keys_zone=nar:4m      # nar cache meta data: ~32K keys
-                 max_size=10g;         # total cache data size max
-
-# cache for content-addressed files
-proxy_cache_path /var/cache/nginx/cas
-                 levels=2
-                 inactive=180d         # inactive keys removed after 180d
-                 keys_zone=cas:8m      # nar cache meta data: ~64K keys
-                 max_size=50g;         # total cache data size max
-
-# cache for build logs
-proxy_cache_path /var/cache/nginx/logs
-                 levels=2
-                 inactive=60d          # inactive keys removed after 60d
-                 keys_zone=logs:8m     # narinfo meta data: ~64K keys
-                 max_size=4g;          # total cache data size max
-
 # cache for static data
 proxy_cache_path /var/cache/nginx/static
                  levels=1



reply via email to

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