Modernize feresectl and add bounded IPC event streaming

This commit is contained in:
Samuel Onoja committed 2026-10-07 07:39:27 +01:00
1 parent cfdd2a148a
commit 97026a0db7
39 files changed
+1671 -254

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ def private_checks():
wait(lambda: (runtime / 'ferese/control.sock').exists())
def call(*args):
return json.loads(subprocess.check_output([str(ctl), *args], env=env, timeout=5))
return json.loads(subprocess.check_output([str(ctl), "-j", *args], env=env, timeout=5))
def request(command, args):
payload = json.dumps({'version': 1, 'id': 17, 'type': 'command',