Skip to content

Conversation

ascillato
Copy link
Contributor

@ascillato ascillato commented Aug 23, 2019

The PR #6213 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.

The PR#6213 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.
@ascillato
Copy link
Contributor Author

ascillato commented Aug 26, 2019

If any test or anything extra is needed, please just let me know. Thanks

@d-a-v
Copy link
Collaborator

d-a-v commented Aug 26, 2019

This patch is useful for ethernet.
I must reproduce the issue and find the reason why pubsubclient is frozen for 5 seconds.

@ascillato
Copy link
Contributor Author

ascillato commented Aug 27, 2019

I forgot to mention that our tests for this issue under Tasmota are without encryption. Just plain unsecured mqtt. That is why is easy to test and find this 5 seconds lag

@d-a-v
Copy link
Collaborator

d-a-v commented Aug 27, 2019

Can you try with #6454 ?

@ascillato
Copy link
Contributor Author

Closing this PR in favour of #6454 that fixes this issue.

Thanks to @d-a-v

@ascillato ascillato closed this Aug 27, 2019
@ascillato ascillato deleted the patch-1 branch August 27, 2019 13:26
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

Successfully merging this pull request may close these issues.

2 participants