Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pipeline tests converted to pytest | andy | 2013-06-04 | 1 | -202/+0 |
| | |||||
* | Merge pull request #338 from stephan-hof/corrupted_pipeline_socket | Andy McCurdy | 2013-04-22 | 1 | -0/+15 |
|\ | | | | | socket gets corrupted if errors in pipeline happen | ||||
| * | Add python3 and python2.5 compatibility | hofmockel | 2013-04-19 | 1 | -1/+1 |
| | | |||||
| * | Read all command responses of a pipeline | hofmockel | 2013-04-17 | 1 | -0/+15 |
| | | | | | | | | | | Otherwise a error makes the responses stuck in the socket. Which leads to wrong responses for the following commands | ||||
* | | Format code per pep8 guidelines | Paul Belanger | 2013-03-30 | 1 | -0/+1 |
|/ | | | | | | A simple patch to enable pep8 in tox and format our code properly. Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> | ||||
* | Pipelines now have a __len__() method. | Jon Parise | 2013-01-06 | 1 | -0/+16 |
| | | | | | | The length of a pipeline is defined as the length of its command stack. This makes it easy to inspect the number of batched commands and to write conditional logic for empty pipelines. | ||||
* | always raise parse error exceptions in multi/exec pipelines as a result of this | andy | 2012-11-16 | 1 | -16/+0 |
| | | | | server change: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/redis-db/VUiEFT8U8U0 | ||||
* | pipelines now raise errors by default. | andy | 2012-10-07 | 1 | -3/+40 |
| | | | | | pass `raise_on_error=False` to `pipeline.execute()` if you prefer the old behavior. | ||||
* | cleaned up tests to not use decode_responses=True. this was masking some ↵ | andy | 2012-08-15 | 1 | -25/+24 |
| | | | | errors from the recent python3 port. | ||||
* | Fixed PEP 8 violations introduced in previous commits | Alex Grönholm | 2012-08-07 | 1 | -1/+2 |
| | |||||
* | Fixed Python 3.2+ compatibility | Alex Grönholm | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | Cleaned up code for PEP 8 compliance | Alex Grönholm | 2012-08-06 | 1 | -4/+7 |
| | |||||
* | added __future__ import to be 2.5 compat. | andy | 2011-07-18 | 1 | -0/+1 |
| | |||||
* | Added a `transaction` convenience method that eliminates boilerplate when | andy | 2011-07-17 | 1 | -0/+24 |
| | | | | using pipelines while WATCHing variables. | ||||
* | Pipelines can now be used as Context Managers. Thanks David Wolever. Fixes #160 | andy | 2011-07-17 | 1 | -76/+76 |
| | |||||
* | Simplifying the Pipeline transaction logic. | David Wolever | 2011-07-11 | 1 | -0/+25 |
| | |||||
* | WATCH and UNWATCH have been broken since 2.4 because of connection pooling. ↵ | Andy McCurdy | 2011-07-11 | 1 | -7/+47 |
| | | | | This fix moves WATCH and UNWATCH to the Pipeline class, where they belong and tests to prove they work. | ||||
* | support ZADD variable length args. deprecate the version passing score and ↵ | Andy McCurdy | 2011-05-31 | 1 | -1/+1 |
| | | | | value (in the wrong order). | ||||
* | removing unnecessary imports | Andy McCurdy | 2011-05-22 | 1 | -5/+0 |
| | |||||
* | [issue 29] Redis instance doesn't use shared connection pool by default | Konstantin Merenkov | 2010-04-12 | 1 | -10/+3 |
| | | | | | | | | | | | | | | | * 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. | ||||
* | Pipeines can not optionally be transactions (wrapped in MULTI/EXEC) or not ↵ | Andy McCurdy | 2010-03-31 | 1 | -8/+14 |
| | | | | by passing the transaction parameter. This fixes #23. | ||||
* | New test that proves that self.subscribed in Pipeline is necessary | Konstantin Merenkov | 2010-03-31 | 1 | -1/+8 |
| | |||||
* | Pipeline objects are now executed atomically via the MULTI and EXEC commands | Andy McCurdy | 2010-03-10 | 1 | -0/+30 |
| | |||||
* | - connection objects now store authentication credentials so that reconnect ↵ | andymccurdy | 2010-02-16 | 1 | -0/+25 |
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 |