-
Couldn't load subscription status.
- Fork 13.3k
TCP connect and send delay fix #6213
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
Conversation
Implement early exit as connection established or data already sent. (Previous implementation was exiting only on timeout expired)
With just slight paraphrase
|
reference for reviewers: d-a-v/W5500lwIP#6 (comment) |
|
Hi, @emelianov @d-a-v @devyte @earlephilhower This PR makes the pubsubclient library to hung (device unresponsive) for 5 seconds if the MQTT broker is down and it is trying to reconnect. Reverting just this commit makes the STAGE core to be fast again as core 2.5.2 while using MQTT. I have just made the PR #6440 in order to fix this hung issue. Thanks. |
Implement early exit as connection established or data already sent.
(In my tests previous implementation was exiting only on timeout expired)