Skip to content

Handle :ping_timeout more gracefully? #116

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

Open
roylez opened this issue Sep 30, 2019 · 1 comment
Open

Handle :ping_timeout more gracefully? #116

roylez opened this issue Sep 30, 2019 · 1 comment

Comments

@roylez
Copy link

roylez commented Sep 30, 2019

From time to time, I see :ping_timeout errors after connection is established. I think this could be handled more gracefully without stopping the connection genserv by resetting its state, and going back to connecting stage.

Probably part of the code in Tortoise. Connection.start_link/2 could be moved to a handle_continue or handle_info to make this easier.

@gausby
Copy link
Owner

gausby commented Dec 19, 2019

I am working on a upgrade that will support MQTT 5, and that will introduce a redesign in the process architecture…I will give it some thoughts when I get back to that work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants