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

Catch TimeoutError in BrokerConnection send/recv #1820

Merged
merged 1 commit into from
May 30, 2019
Merged

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented May 29, 2019

Fix for #1817 -- TimeoutError should generally not happen during non-blocking recv, but it is possible and may be more likely when TCP KeepAlive is enabled. This PR treats a TimeoutError the same as a ConnectionError, logging the exception and closing the connection / forcing reconnect.


This change is Reviewable

@dpkp dpkp requested a review from jeffwidman May 29, 2019 04:02
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