Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unneccessary checkpid from SentinelConnectionPoolsentinel_pool_fix | Andy McCurdy | 2019-03-14 | 1 | -12/+0 |
| | |||||
* | remove legacy Redis class | Andy McCurdy | 2018-11-13 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | redis-py maintained backwards compatibility by keeping the old "Redis" class around for quite some time. While no doubt a convenience for folks who relied on it, the presence of both Redis and StrictRedis causes a number of support issues and general confusion. With 3.0, we're breaking a few things to make redis-py better going forward. This change removes the old Redis class. We also renamed the StrictRedis class to Redis and aliased StrictRedis to Redis. For people that have been using StrictRedis, this should not change anything. You can continue doing things as you are. People still using the legacy Redis class will need to update the argument order for the SETEX, LREM and ZADD commands. Additionally, the return values for TTL and PTTL now return the integer values -1 when a key exists but has no expire time and -2 when a key does not exist. Previously these cases returned a None value in the Redis class. | ||||
* | Prefer dict comprehension over dict(<generator>) | Jon Dufresne | 2018-11-03 | 1 | -4/+5 |
| | |||||
* | Pass generators to dict() instead of coercing to a list | Jon Dufresne | 2018-11-03 | 1 | -2/+2 |
| | |||||
* | FIX #651 try next Sentinel node on TimeoutError | Bo Lopker | 2015-11-27 | 1 | -3/+4 |
| | |||||
* | should also reinitialize with check_connection | Andy McCurdy | 2014-09-18 | 1 | -0/+1 |
| | |||||
* | Passing is_master flag through on reset | Jonathan Frawley | 2014-09-18 | 1 | -0/+1 |
| | | | | | | | - is_master is not passed through when recreating the ConnectionPool. - This was causing unexpected behaviour where we would specifiy that we wish to connect to the slave, but the master would be read from instead. | ||||
* | need to detect READONLY errors in read_response, now send_command. real fix | Andy McCurdy | 2014-06-02 | 1 | -2/+2 |
| | | | | for #435 | ||||
* | only pass explicitly defined or socket_* options to sentinel connections. | Andy McCurdy | 2014-05-26 | 1 | -14/+43 |
| | | | | fixed #483 | ||||
* | fixed __repr__ for clients created from sentinel. fixes #439 | Andy McCurdy | 2014-05-06 | 1 | -0/+26 |
| | |||||
* | SentinelManagedConnections to master servers disconnect on READONLY errors. | Andy McCurdy | 2014-05-06 | 1 | -7/+21 |
| | | | | | Any attempt to reconnect will force all connections in that pool to update their connections to the new master. Fixes #435 | ||||
* | self reference in SentinelConnectionPool changed to weak reference | Paulo Villegas | 2013-12-01 | 1 | -1/+2 |
| | | | circular reference changed to weak reference to enable garbage collection | ||||
* | Override _checkpid() in SentinelConnectionPool | Roman Haritonov | 2013-10-30 | 1 | -0/+9 |
| | |||||
* | comments and changelog | Andy McCurdy | 2013-09-13 | 1 | -28/+36 |
| | |||||
* | PEP8 fix | Vitja Makarov | 2013-09-04 | 1 | -6/+6 |
| | |||||
* | SentinelConnectionPool: add check_connection flag | Vitja Makarov | 2013-09-04 | 1 | -5/+19 |
| | |||||
* | Allow to specify user's own connection pool class | Vitja Makarov | 2013-09-04 | 1 | -10/+14 |
| | |||||
* | Rework slave selection logic | Vitja Makarov | 2013-09-04 | 1 | -45/+52 |
| | |||||
* | Add docstrings for Sentinel class | Vitja Makarov | 2013-09-04 | 1 | -1/+63 |
| | |||||
* | Add redis.sentinel module | Vitja Makarov | 2013-09-04 | 1 | -0/+120 |