From a24f14cad3bc6ce561c9004cf71892f03f0a6fc5 Mon Sep 17 00:00:00 2001 From: Collin J. Doering Date: Fri, 6 Dec 2024 18:09:19 -0500 Subject: 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. --- .guix/guix-na/config/balg02.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.guix') 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) -- cgit v1.2.3