[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: hydra: bayfront: Tweak the nar-herder configuration.
From: |
Christopher Baines |
Subject: |
01/02: hydra: bayfront: Tweak the nar-herder configuration. |
Date: |
Wed, 27 Mar 2024 12:09:31 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository maintenance.
commit 1fc5a1af488cb8838c2f196e07a43f37f2fbf509
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Mar 27 16:02:40 2024 +0000
hydra: bayfront: Tweak the nar-herder configuration.
Drop the TTL to 10 minutes, as this will allow removing zstd nars more
quickly when they're unused.
Also specify that zstd cached compressed nars should be scheduled for
removal after 2 days. This will start to apply after 180 days given
this is the TTL that's been used up until now.
* hydra/bayfront.scm <nar-herder-configuration>: Specify new-ttl and
unused-removal-duration for the zstd cached compression.
---
hydra/bayfront.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index ca332bc..50d9edc 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -1608,13 +1608,15 @@ proxy_set_header Via $via;"
'((and (stored-on "https://hydra-guix-129.guix.gnu.org")
(stored-on "https://hatysa.cbaines.net"))))
(ttl "180d")
+ (new-ttl "600s")
(log-level 'INFO)
(cached-compressions
(list
(nar-herder-cached-compression-configuration
(type 'zstd)
(level 19)
- (directory-max-size (* 400 GiB)))))
+ (directory-max-size (* 400 GiB))
+ (unused-removal-duration "2d"))))
(cached-compression-workers 8)
(cached-compression-nar-source
"https://hydra-guix-129.guix.gnu.org")
(extra-environment-variables