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
Problem
When WebSocket disconnects, underlying WebSockex calls handle_disconnect/2 if it's defined, but seems like it's calling it until main process dies. We need to try to reconnect infinitely or within configurable period of time.
Solution
Try to utilize handle_connect_failure/2 to try reconnecting indefinitely.
The text was updated successfully, but these errors were encountered:
Problem
When WebSocket disconnects, underlying WebSockex calls
handle_disconnect/2
if it's defined, but seems like it's calling it until main process dies. We need to try to reconnect infinitely or within configurable period of time.Solution
Try to utilize
handle_connect_failure/2
to try reconnecting indefinitely.The text was updated successfully, but these errors were encountered: