Skip to content

Presence beyond a TTL key #24

Description

@lesnik512

Presence is planned as a Redis key with a TTL refreshed by the SSE heartbeat, which reports stream-open rather than actively-viewing.

Why it is open

Presence is planned as a Redis key with a TTL refreshed by the SSE heartbeat.
This reports "has an open stream", not "is looking at this chat", and a client
killed between heartbeats stays online until expiry.

Revisit trigger

The demo needing per-chat presence or accurate last-seen.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageMaintainer needs to evaluate this issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions