#647 cleanup/optimizations

This commit is contained in:
Mikayla Fischler
2025-11-15 23:37:51 -05:00
parent ebfdec2294
commit db1b90df90
2 changed files with 2 additions and 12 deletions

View File

@@ -22,12 +22,7 @@ local _dbus = {
-- evaluate and publish system health status
local function eval_status()
local ok = not _dbus.degraded
if ok then
for _, v in pairs(_dbus.coroutines) do
ok = ok and v
end
end
for _, v in pairs(_dbus.coroutines) do ok = ok and v end
databus.ps.publish("status", ok)
end

View File

@@ -16,12 +16,7 @@ local _dbus = {
-- evaluate and publish system health status
local function eval_status()
local ok = _dbus.wd_modem and _dbus.wl_modem
if ok then
for _, v in pairs(_dbus.coroutines) do
ok = ok and v
end
end
for _, v in pairs(_dbus.coroutines) do ok = ok and v end
databus.ps.publish("status", ok)
end