Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Support maxclients error #186 #325

Merged
merged 3 commits into from
Nov 14, 2017
Merged

Support maxclients error #186 #325

merged 3 commits into from
Nov 14, 2017

Conversation

popravich
Copy link
Contributor

Rebased #262;
Resolves #186 and #262 ;

When a new connection tries to get connected to the redis server and it
has been configured with a maximum number of connections, the client
will get a `MaxClientsError` exception if this limit is reached out.

Also if a pool initialization with a `min_size` that can meet the
requirements - beucase of that limit u others issues - the pool creation
will return also a `MaxClientsError`.
@popravich popravich added this to the v1.0 milestone Nov 14, 2017
@codecov
Copy link

codecov bot commented Nov 14, 2017

Codecov Report

Merging #325 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #325      +/-   ##
==========================================
+ Coverage    96.7%   96.78%   +0.08%     
==========================================
  Files          54       55       +1     
  Lines        7710     7747      +37     
  Branches      611      615       +4     
==========================================
+ Hits         7456     7498      +42     
+ Misses        185      181       -4     
+ Partials       69       68       -1
Impacted Files Coverage Δ
aioredis/errors.py 100% <100%> (ø) ⬆️
tests/transaction_commands_test.py 100% <100%> (ø) ⬆️
tests/pool_test.py 99.67% <100%> (+1.29%) ⬆️
tests/connection_test.py 100% <100%> (ø) ⬆️
tests/errors_test.py 100% <100%> (ø)
examples/connection.py 91.21% <0%> (-0.12%) ⬇️
aioredis/sentinel/__init__.py 100% <0%> (ø) ⬆️
aioredis/sentinel/pool.py 86.21% <0%> (+0.04%) ⬆️
tests/sentinel_failover_test.py 87.21% <0%> (+1.5%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e85e37b...29c360b. Read the comment docs.

@popravich popravich merged commit 67af793 into master Nov 14, 2017
@popravich popravich deleted the support_maxclients_error branch November 14, 2017 10:30
@pfreixes
Copy link
Contributor

Thanks for taking care of that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants