feat(node): add confirmed board shutdown with expiring commands
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user