You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a bug report. This is a request for support. I need to be able to detect when reconnect_limit has been reached so that I can send an email out to alert people that the link to the server has been broken. But I simply have not been able to figure out how to detect this. I've been looking in the context for the disconnected event, but nothing stands out to me. How would I detect this? Thanks.
The text was updated successfully, but these errors were encountered:
At present there is no way to determine from the disconnected event, or indeed anywhere else, whether the library is still trying to automatically reconnect. The only way to determine that would be to track the failed attempts. This does indeed seem like a bug/limitation of the library and I'll have a think about how to fix it,
Sorry for the delay. I've made an update that now sets a 'reconnecting' property on the context passed to the disconnected event that is true if the library has scheduled a reconnect attempt and false if it has reached a configured limit.
This is not a bug report. This is a request for support. I need to be able to detect when reconnect_limit has been reached so that I can send an email out to alert people that the link to the server has been broken. But I simply have not been able to figure out how to detect this. I've been looking in the context for the disconnected event, but nothing stands out to me. How would I detect this? Thanks.
The text was updated successfully, but these errors were encountered: