-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add timeout to client #137
Comments
I think this should be solved in the next release. |
Did you mean in 3.x? Because I don't see anything regarding client timeout. I saw the I just tested and got two different errors:
|
No, the bubbling up of a connectionerror is now handled better. That
shouldn't be timed out, it's a genuine unrecoverable error.
If the server is down, it's down. You'll get a connection error. The problem before is that you could get it when the server was not down.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When server is down, a
ConnectionRefusedError
ultimately bubbles up.It would be nice if the
convert
andcompare
methods had a timeout argument to handle this gracefully and return a dedicated exception.The text was updated successfully, but these errors were encountered: