8
Adjusting Realtime Presence Heartbeat Rate
Source: supabase/supabase#30058 · opened by @lerayj
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.
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.
No pledges yet. Be the first to back this.
Comments
Similar requests
Make Changes to the DB through a Realtime extension
2 votes · 0 comments
Why do I need to do manual refresh of the realtime token?
1 vote · 0 comments
Individual NPM packages for supabase-js modules?
2 votes · 0 comments
Ability to enable Realtime on Storage objects table
1 vote · 0 comments
Using multiple filters with Supabase Realtime docker container
2 votes · 0 comments
No comments yet.