mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 09:37:59 +03:00
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:
parent
5827261bef
commit
168d48a5c9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user