Increase GC frequency
graham christensen committed
Nov 2, 2018 at 12:02 UTC
6731dfee379fcbeb1c115da7f0a9f7a7d1c3e462
1 file changed
+1
-1
delft/build-machines-common.nix
+1
-1
@@ -6,7 +6,7 @@ with lib;
6
imports = [ ./common.nix ];
7
8
nix.gc.automatic = true;
9
- nix.gc.dates = "03,09,15,21:15";
9
+ nix.gc.dates = "*:45";
10
nix.gc.options = ''--max-freed "$((128 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';
11
12
# Randomize GC start times do we don't block all build machines at