diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2015-11-02 10:53:21 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2015-11-02 10:53:21 -0800 |
commit | 4001afc9a993a23850f77961f33a4719f40e1f12 (patch) | |
tree | b6a23127305b7d63be585ffa29898182dd66b9e2 | |
parent | e1e6805815839909f79148d80faa45e72bc038e6 (diff) | |
download | redis-py-4001afc9a993a23850f77961f33a4719f40e1f12.tar.gz |
max_connections should default to None
-rw-r--r-- | CHANGES | 4 | ||||
-rwxr-xr-x | redis/client.py | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -21,7 +21,9 @@ parsing large responses from the Redis server. * Added support for ZREVRANGEBYLEX. * ConnectionErrors are now raised if Redis refuses a connection due to - the maxclients limit being exceeded. + the maxclients limit being exceeded. Thanks Roman Karpovich. + * max_connections can now be set when instantiating client instances. + Thanks Ohad Perry. * 2.10.3 * Fixed a bug with the bytearray support introduced in 2.10.2. Thanks Josh Owen. diff --git a/redis/client.py b/redis/client.py index 6c5eaa7..c40662f 100755 --- a/redis/client.py +++ b/redis/client.py @@ -401,7 +401,7 @@ class StrictRedis(object): decode_responses=False, retry_on_timeout=False, ssl=False, ssl_keyfile=None, ssl_certfile=None, ssl_cert_reqs=None, ssl_ca_certs=None, - max_connections=10000): + max_connections=None): if not connection_pool: if charset is not None: warnings.warn(DeprecationWarning( |