Fixed ioscheduling
This commit is contained in:
@@ -188,7 +188,8 @@ in
|
|||||||
"d '${cfg.stateDir}' 0700 streamer root - -"
|
"d '${cfg.stateDir}' 0700 streamer root - -"
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.jellyfin.serviceConfig.IOSchedulingPriority = 7;
|
# Always prioritise Jellyfin IO
|
||||||
|
systemd.services.jellyfin.serviceConfig.IOSchedulingPriority = 0;
|
||||||
|
|
||||||
services.jellyfin = {
|
services.jellyfin = {
|
||||||
enable = cfg.enable;
|
enable = cfg.enable;
|
||||||
|
|||||||
@@ -301,7 +301,8 @@ in {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.transmission.serviceConfig = mkIf cfg-cross-seed.enable {
|
systemd.services.transmission.serviceConfig = {
|
||||||
|
# Always prioritize all other services wrt. IO
|
||||||
IOSchedulingPriority = 7;
|
IOSchedulingPriority = 7;
|
||||||
ExecStartPre = mkIf cfg-cross-seed.enable (
|
ExecStartPre = mkIf cfg-cross-seed.enable (
|
||||||
mkBefore [
|
mkBefore [
|
||||||
|
|||||||
Reference in New Issue
Block a user