aboutsummaryrefslogtreecommitdiff
path: root/.guix/guix-na
diff options
context:
space:
mode:
authorCollin J. Doering2024-12-06 18:09:19 -0500
committerPjotr Prins2024-12-16 10:12:15 +0100
commit3bdbabd588af3d404ecdc88d653e3445811b834e (patch)
tree5e40583a4ea6f5bcf22a1d51640056afd628cc74 /.guix/guix-na
parent9c160462a4a8d25cd8e3c97597edbf74b08791cb (diff)
downloadguix-north-america-3bdbabd588af3d404ecdc88d653e3445811b834e.tar.gz
balg02: Set guix-publish ttl and cache-bypass-threshold
* .guix/guix-na/config/balg02.scm: Prior to this change, the guix-publish cache has been filling up without having items removed. The reason being that the ttl was not set! Additionally, avoid caching items that are less then 150MiB.
Diffstat (limited to '.guix/guix-na')
-rw-r--r--.guix/guix-na/config/balg02.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/.guix/guix-na/config/balg02.scm b/.guix/guix-na/config/balg02.scm
index 88f5634..fff86d3 100644
--- a/.guix/guix-na/config/balg02.scm
+++ b/.guix/guix-na/config/balg02.scm
@@ -611,7 +611,9 @@ synonymous IETF language tags that should be mapped to the same $lang."
(service cuirass-service-type
(cuirass-configuration
(host "localhost")
- (specifications %cuirass-specs)))
+ (specifications %cuirass-specs)
+ (ttl (* 90 24 3600)) ; 90 days
+ (cache-bypass-threshold (* 150 MiB))))
%nginx-cache-activation
(service nginx-service-type %nginx-configuration)