How to identify if a realtime connection was closed due to inactivity? #4916
Replies: 2 comments 4 replies
-
It is not clear what is the issue, nor what you are asking. If you are using the SDKs the client will try to reconnect in case the connection was interrupted (eg. on idle timeout) and users don't need to do anything in addition. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
greetings everyone.
I created a project that uses the realtime db function to identify changes in data and perform processing (indirect communication between the front and back through the db).
However, I noticed that after a few hours without changes occurring, the realtime connection with the db stops and the backend does not identify new changes if they occur.
Is there any way to identify if the realtime listener has terminated so that it can be restarted?
Beta Was this translation helpful? Give feedback.
All reactions