aboutsummaryrefslogtreecommitdiff
path: root/.guix
diff options
context:
space:
mode:
authorCollin J. Doering2024-12-06 18:09:19 -0500
committerCollin J. Doering2024-12-06 18:09:19 -0500
commita24f14cad3bc6ce561c9004cf71892f03f0a6fc5 (patch)
treec334604fdb2c81b9da80555ea4ef4b6a1dbebf8b /.guix
parent229556cb68b2c0a7a8e9c2c8e6e1df26a3e6d6f5 (diff)
downloadguix-north-america-a24f14cad3bc6ce561c9004cf71892f03f0a6fc5.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')
-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)