Adjusting Realtime Presence Heartbeat Rate #30058
Unanswered
lerayj
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm working on a project that requires more frequent updates of user presence in a room. In my case, it is used to monitor if an user is still well connected to the app or if he add an issue. The nature of the app make a need of "real realtime" where 1min delay before knowing there is an issue with a user is a big deal.
Currently, I'm using Supabase Realtime's presence feature, but I need to detect changes in user presence more quickly than the default behavior allows.
Specifically, I'd like to be able to determine if a user is present in or has left a presence room within a 3-second timeframe. From my understanding of the Realtime protocol documentation, it appears that the default heartbeat occurs every 30 seconds.
Potential feature needed:
Adjust the heartbeat rate to a shorter interval. It would probably be a setting in the dashboard.
All reactions