Fixed ioscheduling

This commit is contained in:
rasmus-kirk
2024-05-09 12:04:36 +02:00
parent 6822611afc
commit 91e3b4b803
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -188,7 +188,8 @@ in
"d '${cfg.stateDir}' 0700 streamer root - -"
];
systemd.services.jellyfin.serviceConfig.IOSchedulingPriority = 7;
# Always prioritise Jellyfin IO
systemd.services.jellyfin.serviceConfig.IOSchedulingPriority = 0;
services.jellyfin = {
enable = cfg.enable;
+2 -1
View File
@@ -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;
ExecStartPre = mkIf cfg-cross-seed.enable (
mkBefore [