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

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.

@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