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

Fix applying mqtt.reconnect_count by reordering except clauses #331

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

zzeekk
Copy link
Contributor

@zzeekk zzeekk commented Sep 3, 2023

Reconnect_count is not applied on mqtt server disconnect because exception is caught by general except clause.
In consequence the MqttCodeError Exception doesnt reach the except clause to handle reconnect.
By these bugfix the except clauses are reordered, so that the reconnect_count is applied again correctly.

reconnect_count is not applied on server disconnect because exception caught before except clause to handle reconnect.
@BenjiU BenjiU self-assigned this Sep 3, 2023
@BenjiU BenjiU merged commit 2c9da19 into flyte:develop Feb 26, 2024
5 checks passed
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.

None yet

2 participants