@cryptotaxi247 / infra / commits / e5c6c097

builders: start gcing earlier

Keep a bit more space free percentage-wise and in exchange run less often.

Martin Weinelt committed Jan 4, 2025 at 16:01 UTC e5c6c097a0d575d16f9c407738d809af1a6cd4c6
1 file changed +2 -2
builders/common/nix.nix
+2 -2
@@ -11,11 +11,11 @@
11
12 gc =
13 let
14 - maxFreed = 100; # GB
14 + maxFreed = 500; # GB
15 in
16 {
17 automatic = true;
18 - dates = "*:0/30"; # every 30 minutes
18 + dates = "hourly";
19 options = "--max-freed \"$((${toString maxFreed} * 1024**3 - 1024 * $(df --output=avail /nix/store | tail -n 1)))\"";
20 };
21