Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to handle reconnecting infinitely #31

Open
dsienkiewicz opened this issue Nov 24, 2024 · 0 comments
Open

Try to handle reconnecting infinitely #31

dsienkiewicz opened this issue Nov 24, 2024 · 0 comments
Labels
feature New feature proposition
Milestone

Comments

@dsienkiewicz
Copy link
Owner

dsienkiewicz commented Nov 24, 2024

Problem
When WebSocket disconnects, underlying WebSockex calls handle_disconnect/2 if it's defined, but seems like it's calling it infinitely. During that time any StreamingSocket fails, as underlying SessionID is dropped.

Solution
Try to recover Connection module that solves the problem of starting both Main & Streaming socket, so it will properly handle :DOWN messages when any of sockets die.

@dsienkiewicz dsienkiewicz added the feature New feature proposition label Nov 24, 2024
@dsienkiewicz dsienkiewicz added this to the 0.2 milestone Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature proposition
Projects
None yet
Development

No branches or pull requests

1 participant