fix: pass config+config_path to WebServerDeps so audio profile persists to disk; add boot-time period/rate override loading from config.yaml
This commit is contained in:
@@ -164,7 +164,7 @@ def test_systemd_service_content_default():
|
||||
assert "-p128" in content
|
||||
assert "-n2" in content
|
||||
assert "-r48000" in content
|
||||
assert "LimitRTPRIO=95" in content
|
||||
assert "LimitRTPRIO=99" in content
|
||||
assert "LimitMEMLOCK=infinity" in content
|
||||
assert "WantedBy=multi-user.target" in content
|
||||
|
||||
|
||||
@@ -436,7 +436,7 @@ class TestSystemdServices:
|
||||
"""Service unit includes real-time audio priority limits."""
|
||||
from src.system.services import pedal_service_content
|
||||
content = pedal_service_content()
|
||||
assert "LimitRTPRIO=95" in content
|
||||
assert "LimitRTPRIO=99" in content
|
||||
assert "LimitMEMLOCK=infinity" in content
|
||||
assert "LimitNICE=-20" in content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user