| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Previously the `test_max_connections_blocks` test wasn't actually
testing that the connection was blocking.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
anything in redis-py. yaa!
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
and port aren't specified, the host/port options on the existing connection are used.
* added HINCRBY support
|
| |
|
|
|
|
| |
around between threads and connections will get swapped out correctly.
|
|
works as expected.
- Connection.connect now calls back into the redis instance class to send the auth and select commands to the server. this does not yet work with pipelines, which will be addressed shortly.
- Added very basic tests for the connection pool and pipeline
|