Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Attempt our best to retry pipeline connection failures where they make sense.watch | andy | 2011-07-12 | 1 | -12/+21 |
| | |||||
* | nitpicky cleanup | andy | 2011-07-12 | 1 | -22/+3 |
| | |||||
* | Revert "Don't mask ConnectionError in Pipeline.execute()" | Randall Leeds | 2011-07-11 | 1 | -1/+1 |
| | | | | This reverts commit 9e918fdb481aef700561592121322a3a82072f72. | ||||
* | only change self.watching when commands succeed | Randall Leeds | 2011-07-11 | 1 | -1/+2 |
| | |||||
* | reset() and unwatch should react to responses | Randall Leeds | 2011-07-11 | 1 | -3/+10 |
| | | | | | | self.watching should not be set to True until a successful response from a WATCH is received. We can simplify management of this variable by completing the response cycle with an overridden parse_response(). | ||||
* | Merge remote-tracking branch 'wolever/watch' into watch_fixes | Randall Leeds | 2011-07-11 | 1 | -34/+23 |
|\ | |||||
| * | Whoops, shouldn't be changing 'self.transaction' | David Wolever | 2011-07-11 | 1 | -2/+1 |
| | | | | | | | | Otherwise, if `.multi()` is called then `.reset()` is called, `.transaction` will remain `True` when it should be `False` | ||||
| * | Simplifying the Pipeline transaction logic. | David Wolever | 2011-07-11 | 1 | -33/+23 |
| | | |||||
* | | Don't mask ConnectionError in Pipeline.execute() | Randall Leeds | 2011-07-11 | 1 | -3/+3 |
| | | |||||
* | | Merge remote-tracking branch 'andymccurdy/watch' into watch_fixes | Randall Leeds | 2011-07-11 | 2 | -110/+131 |
|\ \ | |/ | | | | | | | | | Conflicts: redis/client.py tests/server_commands.py | ||||
| * | ensure UNWATCH gets called properly | andy | 2011-07-11 | 1 | -1/+16 |
| | | |||||
| * | Merge branch 'master' into watch | andy | 2011-07-11 | 1 | -17/+25 |
| |\ | | | | | | | | | | | | | Conflicts: CHANGES | ||||
| | * | remove PUBLISH from the PubSub object. Can't PUBLISH from any connection ↵ | Andy McCurdy | 2011-07-11 | 1 | -7/+0 |
| | | | | | | | | | | | | that's currently [P]SUBSCRIBEd, so it doesn't make sense to keep it here. | ||||
| | * | Allow a custom callable to be passed to commands whose responses are parsed ↵ | Andy McCurdy | 2011-07-11 | 1 | -10/+25 |
| | | | | | | | | | | | | with zset_score_pairs indicating how to cast the score value. Defaults to a float. Fix for #155 | ||||
| * | | WATCH and UNWATCH have been broken since 2.4 because of connection pooling. ↵ | Andy McCurdy | 2011-07-11 | 1 | -7/+85 |
| |/ | | | | | | | This fix moves WATCH and UNWATCH to the Pipeline class, where they belong and tests to prove they work. | ||||
| * | Fix for #153, can only reliably check the last byte of the response | Andy McCurdy | 2011-07-10 | 1 | -3/+3 |
| | | |||||
* | | Merge remote-tracking branch 'wolever/threadsafe_transactions' into watch_fixes | Randall Leeds | 2011-07-08 | 1 | -34/+120 |
|\ \ | | | | | | | | | | | | | Conflicts: redis/client.py | ||||
| * | | First quick pass as a subclass of Redis which is bound to one connection | David Wolever | 2011-07-07 | 1 | -12/+112 |
| | | | |||||
* | | | fix #149 - hold connection for duration of WATCH | Randall Leeds | 2011-07-07 | 1 | -9/+23 |
| |/ |/| | |||||
* | | no reason that these should call list_or_args | Andy McCurdy | 2011-06-29 | 1 | -12/+6 |
| | | |||||
* | | Provide WatchError in the top-level module. | Dave Peticolas | 2011-06-27 | 1 | -1/+2 |
|/ | |||||
* | add variadic versions of L/RPUSH | Raphaël Vinot | 2011-06-11 | 1 | -6/+8 |
| | |||||
* | add variadic version of HDEL | Raphaël Vinot | 2011-06-11 | 1 | -3/+4 |
| | |||||
* | add variadic versions of SADD, SREM and ZREM | Raphaël Vinot | 2011-06-11 | 1 | -9/+12 |
| | |||||
* | version bump 2.4.5 | Andy McCurdy | 2011-06-10 | 1 | -1/+1 |
| | |||||
* | fix for PythonParser when reading empty strings | Andy McCurdy | 2011-06-10 | 1 | -1/+1 |
| | |||||
* | added VERSION as a tuple based on the __version__ string | Andy McCurdy | 2011-06-07 | 1 | -0/+1 |
| | |||||
* | fix a typo introduced in last commit. thanks Ask Solem for finding. | Andy McCurdy | 2011-06-07 | 2 | -2/+2 |
| | |||||
* | fix UnixDomainSocketConnection to report error messages based on it's ↵ | Andy McCurdy | 2011-06-07 | 2 | -10/+24 |
| | | | | attributes rather than the TCP socket attributes. fixes #140 | ||||
* | version bump to 2.4.2 | Andy McCurdy | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | get a connection within the execute() method of the pipeline so we can ↵ | Andy McCurdy | 2011-06-06 | 1 | -49/+45 |
| | | | | respond to a ConnectionError. Fix for #139 | ||||
* | version bump | Andy McCurdy | 2011-06-01 | 1 | -1/+1 |
| | |||||
* | make sure the class instance always has an ._fp attribute in case disconnect ↵ | Andy McCurdy | 2011-06-01 | 1 | -3/+6 |
| | | | | gets called before connect | ||||
* | version bump!2.4 | Andy McCurdy | 2011-06-01 | 1 | -1/+1 |
| | |||||
* | pipelines need the response_callback love, too. grammar fixes in docs | Andy McCurdy | 2011-06-01 | 1 | -2/+8 |
| | |||||
* | added ability for per-instance response callbacks. also, holy shit, ↵ | Andy McCurdy | 2011-06-01 | 1 | -4/+17 |
| | | | | documentation! | ||||
* | updating a few docstrings | Andy McCurdy | 2011-05-31 | 1 | -2/+7 |
| | |||||
* | support ZADD variable length args. deprecate the version passing score and ↵ | Andy McCurdy | 2011-05-31 | 1 | -4/+18 |
| | | | | value (in the wrong order). | ||||
* | ConnectionPool's get_connection() now can take optional kwargs | Andy McCurdy | 2011-05-25 | 2 | -3/+4 |
| | |||||
* | remove the SELECT command completely. use a separate client instance instead. | Andy McCurdy | 2011-05-24 | 1 | -10/+0 |
| | |||||
* | renamed path arg to unix_socket_path to make it clearer | Andy McCurdy | 2011-05-23 | 1 | -3/+3 |
| | |||||
* | ability to use the UnixDomainSocketConnection directly from the Redis client. | Andy McCurdy | 2011-05-23 | 1 | -14/+23 |
| | |||||
* | added Connection and UnixDomainSocketConnection to module imports | Andy McCurdy | 2011-05-23 | 1 | -3/+7 |
| | |||||
* | new pubsub tests | Andy McCurdy | 2011-05-23 | 2 | -2/+2 |
| | |||||
* | removing unnecessary imports | Andy McCurdy | 2011-05-22 | 1 | -4/+2 |
| | |||||
* | removal of more deprecated commands | Andy McCurdy | 2011-05-22 | 1 | -51/+1 |
| | |||||
* | allow shard hints to be passed to pipeline and pubsub objects. a smart ↵ | Andy McCurdy | 2011-05-22 | 1 | -90/+53 |
| | | | | | | connection pool could use these hints to determine the correct shard to run on. removed all previously deprecated parameters and commands | ||||
* | completely refactored pubsub. this is backwards incompatible, but quite ↵ | Andy McCurdy | 2011-05-22 | 1 | -70/+96 |
| | | | | necessary. | ||||
* | more error checking for socket errors | Andy McCurdy | 2011-05-22 | 1 | -5/+7 |
| | |||||
* | connection pool is now a real pool. we no longer rely on threading.local for ↵ | Andy McCurdy | 2011-05-17 | 2 | -26/+31 |
| | | | | anything in redis-py. yaa! |