MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / update_heartbeat

Method update_heartbeat

relay/instance_registry.py:110–112  ·  view source on GitHub ↗

Update last heartbeat timestamp

(self)

Source from the content-addressed store, hash-verified

108 return d
109
110 def update_heartbeat(self) -> None:
111 """Update last heartbeat timestamp"""
112 self.last_heartbeat = time.time()
113
114 def set_status(self, status: InstanceStatus, detail: str | None = None) -> None:
115 """Update instance status"""

Callers 2

test_update_heartbeatMethod · 0.95
_handle_unity_messageMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_update_heartbeatMethod · 0.76