-
Notifications
You must be signed in to change notification settings - Fork 258
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 pool maxsize unlimited #426
Fix pool maxsize unlimited #426
Conversation
f3e6486
to
22dd779
Compare
Codecov Report
@@ Coverage Diff @@
## master #426 +/- ##
==========================================
+ Coverage 92.69% 92.70% +0.01%
==========================================
Files 35 35
Lines 5432 5444 +12
Branches 586 588 +2
==========================================
+ Hits 5035 5047 +12
Misses 309 309
Partials 88 88
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for the PR.
effectively this PR should be porting aio-libs/aiopg#59
i've added another test case that fails on this PR, this change should be ported as well:
https://github.com/aio-libs/aiopg/pull/59/files#diff-34274c292424cfc2c3ac7e6a8a625f4d2cc652639b0bcaab02978bdf5bad6520R42
What do these changes do?
Fix
pool.maxsize
logic to allow pool's size to be unlimited whenmaxsize
is 0.https://aiomysql.readthedocs.io/en/latest/pool.html#Pool
Are there changes in behavior for the user?
No changes.
Related issue number
#119
Checklist
CHANGES
folder<issue_id>.<type>
(e.g.588.bugfix
)issue_id
change it to the pr id after creating the PR.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.Fix issue with non-ascii contents in doctest text files.