diff options
author | Konstantin Merenkov <kmerenkov@gmail.com> | 2010-04-12 15:07:31 +0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2010-04-12 15:54:21 +0800 |
commit | 4dec96f235d3d1ef9fd1eb8a1549b75caae36c59 (patch) | |
tree | ec81f231b43d4d116e1f4fc87f10c15e772d95e8 /tests/server_commands.py | |
parent | 4efa5de487363b7c1d86b0a6a6719dee7fe507b4 (diff) | |
download | redis-py-4dec96f235d3d1ef9fd1eb8a1549b75caae36c59.tar.gz |
[issue 29] Redis instance doesn't use shared connection pool by default
* Redis constructor accepts connection_pool keyword argument,
that defaults to None (no shared connection pool).
However, you can create ConnectionManager instance yourself
and pass it to as many Redis instances as you want, making
them use shared connection pool.
* Renamed ConnectionManager to ConnectionPool.
* Exported ConnectionPool, so now you can import it in your code
and create instances.
* Removed test_pipeline_with_fresh_connection test, since
all redis instances don't use shared pool by default now.
* corrected few typos in comments.
* repaired the rest of tests.
Diffstat (limited to 'tests/server_commands.py')
0 files changed, 0 insertions, 0 deletions