nix-daemon: Run under the default nice level

Running at a low priority is generally bad since it runs the risk of
priority inversions, etc.  It's really the builders that should run
under a different priority (e.g. in their own cgroup).
This commit is contained in:
Eelco Dolstra 2013-08-06 18:32:31 +02:00
parent 5827261bef
commit 168d48a5c9

View file

@ -127,7 +127,7 @@ in
};
daemonNiceLevel = mkOption {
default = 10;
default = 0;
description = "
Nix daemon process priority. This priority propagates to build processes.
0 is the default Unix process priority, 20 is the lowest.
@ -135,7 +135,7 @@ in
};
daemonIONiceLevel = mkOption {
default = 7;
default = 0;
description = "
Nix daemon process I/O priority. This priority propagates to build processes.
0 is the default Unix process I/O priority, 7 is the lowest.