thread/Util: lower the real-time priority from 50 to 40
On linux-rt, kernel IRQ threads are configured with priority=50, and this change configures MPD somewhat below that priority, leaving some room for other programs to be configured in between. Closes https://github.com/MusicPlayerDaemon/MPD/issues/643
This commit is contained in:
@@ -12,8 +12,8 @@ ExecStart=@prefix@/bin/mpd --no-daemon
|
||||
# periodic wakeups which are unnecessary if MPD is not playing.
|
||||
#WatchdogSec=120
|
||||
|
||||
# allow MPD to use real-time priority 50
|
||||
LimitRTPRIO=50
|
||||
# allow MPD to use real-time priority 40
|
||||
LimitRTPRIO=40
|
||||
LimitRTTIME=infinity
|
||||
|
||||
# disallow writing to /usr, /bin, /sbin, ...
|
||||
|
@@ -12,8 +12,8 @@ ExecStart=@prefix@/bin/mpd --no-daemon
|
||||
# periodic wakeups which are unnecessary if MPD is not playing.
|
||||
#WatchdogSec=120
|
||||
|
||||
# allow MPD to use real-time priority 50
|
||||
LimitRTPRIO=50
|
||||
# allow MPD to use real-time priority 40
|
||||
LimitRTPRIO=40
|
||||
LimitRTTIME=infinity
|
||||
|
||||
# disallow writing to /usr, /bin, /sbin, ...
|
||||
|
Reference in New Issue
Block a user