Skip to content

Heartbeat + connection liveness (30s/90s) #199

Description

@codebestia

Implement heartbeat: clients send heartbeat every 30s; if none arrives within 90s the gateway marks the device offline and expires Redis TTLs. Heartbeats also bump lastSeenAt (throttled).

Acceptance criteria:

  • Missing heartbeats → device offline within ~90s
  • Heartbeats refresh socket-registry TTLs
  • No ghost-online devices after an abrupt disconnect

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions