summaryrefslogtreecommitdiff
path: root/redis
Commit message (Collapse)AuthorAgeFilesLines
* Attempt our best to retry pipeline connection failures where they make sense.watchandy2011-07-121-12/+21
|
* nitpicky cleanupandy2011-07-121-22/+3
|
* Revert "Don't mask ConnectionError in Pipeline.execute()"Randall Leeds2011-07-111-1/+1
| | | | This reverts commit 9e918fdb481aef700561592121322a3a82072f72.
* only change self.watching when commands succeedRandall Leeds2011-07-111-1/+2
|
* reset() and unwatch should react to responsesRandall Leeds2011-07-111-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_fixesRandall Leeds2011-07-111-34/+23
|\
| * Whoops, shouldn't be changing 'self.transaction'David Wolever2011-07-111-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 Wolever2011-07-111-33/+23
| |
* | Don't mask ConnectionError in Pipeline.execute()Randall Leeds2011-07-111-3/+3
| |
* | Merge remote-tracking branch 'andymccurdy/watch' into watch_fixesRandall Leeds2011-07-112-110/+131
|\ \ | |/ | | | | | | | | Conflicts: redis/client.py tests/server_commands.py
| * ensure UNWATCH gets called properlyandy2011-07-111-1/+16
| |
| * Merge branch 'master' into watchandy2011-07-111-17/+25
| |\ | | | | | | | | | | | | Conflicts: CHANGES
| | * remove PUBLISH from the PubSub object. Can't PUBLISH from any connection ↵Andy McCurdy2011-07-111-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 McCurdy2011-07-111-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 McCurdy2011-07-111-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 responseAndy McCurdy2011-07-101-3/+3
| |
* | Merge remote-tracking branch 'wolever/threadsafe_transactions' into watch_fixesRandall Leeds2011-07-081-34/+120
|\ \ | | | | | | | | | | | | Conflicts: redis/client.py
| * | First quick pass as a subclass of Redis which is bound to one connectionDavid Wolever2011-07-071-12/+112
| | |
* | | fix #149 - hold connection for duration of WATCHRandall Leeds2011-07-071-9/+23
| |/ |/|
* | no reason that these should call list_or_argsAndy McCurdy2011-06-291-12/+6
| |
* | Provide WatchError in the top-level module.Dave Peticolas2011-06-271-1/+2
|/
* add variadic versions of L/RPUSHRaphaël Vinot2011-06-111-6/+8
|
* add variadic version of HDELRaphaël Vinot2011-06-111-3/+4
|
* add variadic versions of SADD, SREM and ZREMRaphaël Vinot2011-06-111-9/+12
|
* version bump 2.4.5Andy McCurdy2011-06-101-1/+1
|
* fix for PythonParser when reading empty stringsAndy McCurdy2011-06-101-1/+1
|
* added VERSION as a tuple based on the __version__ stringAndy McCurdy2011-06-071-0/+1
|
* fix a typo introduced in last commit. thanks Ask Solem for finding.Andy McCurdy2011-06-072-2/+2
|
* fix UnixDomainSocketConnection to report error messages based on it's ↵Andy McCurdy2011-06-072-10/+24
| | | | attributes rather than the TCP socket attributes. fixes #140
* version bump to 2.4.2Andy McCurdy2011-06-061-1/+1
|
* get a connection within the execute() method of the pipeline so we can ↵Andy McCurdy2011-06-061-49/+45
| | | | respond to a ConnectionError. Fix for #139
* version bumpAndy McCurdy2011-06-011-1/+1
|
* make sure the class instance always has an ._fp attribute in case disconnect ↵Andy McCurdy2011-06-011-3/+6
| | | | gets called before connect
* version bump!2.4Andy McCurdy2011-06-011-1/+1
|
* pipelines need the response_callback love, too. grammar fixes in docsAndy McCurdy2011-06-011-2/+8
|
* added ability for per-instance response callbacks. also, holy shit, ↵Andy McCurdy2011-06-011-4/+17
| | | | documentation!
* updating a few docstringsAndy McCurdy2011-05-311-2/+7
|
* support ZADD variable length args. deprecate the version passing score and ↵Andy McCurdy2011-05-311-4/+18
| | | | value (in the wrong order).
* ConnectionPool's get_connection() now can take optional kwargsAndy McCurdy2011-05-252-3/+4
|
* remove the SELECT command completely. use a separate client instance instead.Andy McCurdy2011-05-241-10/+0
|
* renamed path arg to unix_socket_path to make it clearerAndy McCurdy2011-05-231-3/+3
|
* ability to use the UnixDomainSocketConnection directly from the Redis client.Andy McCurdy2011-05-231-14/+23
|
* added Connection and UnixDomainSocketConnection to module importsAndy McCurdy2011-05-231-3/+7
|
* new pubsub testsAndy McCurdy2011-05-232-2/+2
|
* removing unnecessary importsAndy McCurdy2011-05-221-4/+2
|
* removal of more deprecated commandsAndy McCurdy2011-05-221-51/+1
|
* allow shard hints to be passed to pipeline and pubsub objects. a smart ↵Andy McCurdy2011-05-221-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 McCurdy2011-05-221-70/+96
| | | | necessary.
* more error checking for socket errorsAndy McCurdy2011-05-221-5/+7
|
* connection pool is now a real pool. we no longer rely on threading.local for ↵Andy McCurdy2011-05-172-26/+31
| | | | anything in redis-py. yaa!