summaryrefslogtreecommitdiff
path: root/tests/connection_pool.py
Commit message (Collapse)AuthorAgeFilesLines
* connection pool testsandy2013-06-041-118/+0
|
* pep8andy2013-04-221-12/+10
|
* tests: tweak blocking connection pool test.James Arthur2013-04-191-5/+7
| | | | | Previously the `test_max_connections_blocks` test wasn't actually testing that the connection was blocking.
* connection: tests for `BlockingConnectionPool`.James Arthur2013-04-181-0/+74
|
* Cleaned up code for PEP 8 complianceAlex Grönholm2012-08-061-1/+4
|
* 2.4.12, redis-py is now fork-safe2.4.12andy2012-04-271-0/+2
|
* new pubsub testsAndy McCurdy2011-05-231-53/+35
|
* connection pool is now a real pool. we no longer rely on threading.local for ↵Andy McCurdy2011-05-171-0/+1
| | | | anything in redis-py. yaa!
* all tests passing with new connection poolAndy McCurdy2011-05-161-23/+26
|
* [issue 29] Redis instance doesn't use shared connection pool by defaultKonstantin Merenkov2010-04-121-16/+16
| | | | | | | | | | | | | | | * 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.
* * fix for #21, make only the "db" argument of select() required. If host ↵Andy McCurdy2010-03-261-2/+2
| | | | | | and port aren't specified, the host/port options on the existing connection are used. * added HINCRBY support
* Flushed out the connection manager object a bit more.Andy McCurdy2010-03-121-0/+8
|
* the Redis class is now a thread local. This means you can safely pass it ↵Andy McCurdy2010-03-051-1/+26
| | | | around between threads and connections will get swapped out correctly.
* - connection objects now store authentication credentials so that reconnect ↵andymccurdy2010-02-161-0/+20
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