feat(node): add confirmed board shutdown with expiring commands

This commit is contained in:
DCCONSTRUCTIONS
2026-11-04 15:52:46 +03:00
parent f76928b606
commit ab8e977f11
21 changed files with 967 additions and 4 deletions
+3
View File
@@ -38,6 +38,8 @@ class FleetRegistry:
self.vps_hosts: VPSHosts | None = None
self.lock = threading.RLock()
self.presence: dict[str, dict] = {}
from .power import BoardPower
self.power = BoardPower()
from .events import FleetEvents
self.events = FleetEvents()
@@ -574,6 +576,7 @@ class FleetRegistry:
**sensor_response,
**enrollment_response,
**router_response,
**self.power.heartbeat(row, value),
}
def receive_liveness(self, row, value, address):