-
Notifications
You must be signed in to change notification settings - Fork 257
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
Unable to set a connect_timeout #257
Comments
That is a good catch, we need to wrap aiomysql/aiomysql/connection.py Lines 456 to 466 in d77a97d
|
would you like to create PR? |
+1, is there a progress? |
Once we've fixed SSL (hopefully in the next few days) I'll PR this, should be simple. |
Has this been solved and the issue is just forgotten, or has there been some unforeseen roadblock? Thanks. |
@terrycain did you get to implement this PR in the end? Thanks. |
I didn't, I completely forgot 😄, I'll have a crack at this on the weekend unless someone else wishes to do so. |
* fix the python 3.7 compatibility * Fixes #257
aiomysql==0.0.12
Reading through the code, kwargs passed to create_pool() are captured and passed along. The code looks correct but setting connect_timeout to 1 versus 1000 makes no difference. The timeout is always two minutes and a few seconds. Something like:
The text was updated successfully, but these errors were encountered: