hydra: ralentir

This commit is contained in:
Astro 2022-05-07 03:51:07 +02:00
parent 7bbf2ad30e
commit 8a42078b88
2 changed files with 6 additions and 4 deletions

View File

@ -22,7 +22,7 @@
nix = {
useSandbox = false;
maxJobs = 4;
maxJobs = 2;
buildCores = 16;
gc = {
automatic = true;

View File

@ -44,13 +44,15 @@ in {
};
systemd.services.hydra-evaluator.serviceConfig = {
CPUWeight = 2;
MemoryAccounting = true;
MemoryHigh = "32G";
MemoryMax = "40G";
MemoryHigh = "24G";
MemoryMax = "32G";
MemorySwapMax = "8G";
};
systemd.services.nix-daemon.serviceConfig = {
CPUWeight = 5;
MemoryHigh = "24G";
MemoryMax = "32G";
MemorySwapMax = "8G";
};
services.nginx =