Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2.10.32.10.3 | Andy McCurdy | 2014-08-14 | 2 | -1/+4 |
| | |||||
* | handle buffer edgecase | Josh Owen | 2014-08-13 | 1 | -1/+1 |
| | |||||
* | 2.10.22.10.2 | Andy McCurdy | 2014-08-11 | 2 | -2/+2 |
| | |||||
* | changelog | Andy McCurdy | 2014-08-11 | 1 | -0/+1 |
| | |||||
* | fix for pipelines when sending large values | Andy McCurdy | 2014-07-28 | 1 | -3/+3 |
| | |||||
* | bytearray didn't work with socket.recv_into in python 2.6 | Andy McCurdy | 2014-07-21 | 1 | -7/+6 |
| | |||||
* | changelog | Andy McCurdy | 2014-07-21 | 1 | -0/+2 |
| | |||||
* | cleanup and optimizations to new bytearray code | Andy McCurdy | 2014-07-21 | 1 | -23/+25 |
| | |||||
* | Merge branch 'master' into pr/505 | Andy McCurdy | 2014-07-21 | 4 | -18/+95 |
|\ | | | | | | | | | Conflicts: redis/connection.py | ||||
| * | typo | Andy McCurdy | 2014-07-06 | 1 | -2/+2 |
| | | |||||
| * | changelog | Andy McCurdy | 2014-07-06 | 1 | -0/+1 |
| | | |||||
| * | Merge pull request #501 from jettify/master | Andy McCurdy | 2014-07-06 | 2 | -4/+46 |
| |\ | | | | | | | Added bitpos command | ||||
| | * | fix tests | Nickolai Novik | 2014-06-21 | 1 | -4/+4 |
| | | | |||||
| | * | bitpos command implementation | Nickolai Novik | 2014-06-21 | 2 | -4/+46 |
| | | | |||||
| * | | check for the server closing a connection that's compatible with Python 3 | Andy McCurdy | 2014-07-06 | 2 | -2/+4 |
| | | | | | | | | | | | | fixes #508 | ||||
| * | | Consistent option names for encoding and encoding_errors. Fixes #510 | Andy McCurdy | 2014-07-03 | 3 | -4/+32 |
| | | | |||||
| * | | better pack_commands algorithm with less string joining | Andy McCurdy | 2014-07-03 | 1 | -9/+13 |
| |/ | |||||
* | | Added support for reusing a bytearray buffer when parsing with hiredis-py 0.1.4 | tzickel | 2014-06-27 | 1 | -9/+32 |
|/ | |||||
* | Merge pull request #499 from grantcox/master | Andy McCurdy | 2014-06-18 | 1 | -2/+2 |
|\ | | | | | Lock.acquire() to respect blocking_timeout argument | ||||
| * | Lock.acquire() to respect blocking_timeout argument | Grant Cox | 2014-06-19 | 1 | -2/+2 |
|/ | |||||
* | fix python3 compat | Andy McCurdy | 2014-06-16 | 1 | -2/+2 |
| | |||||
* | pack multiple commands in a pipeline into larger strings. | Andy McCurdy | 2014-06-16 | 2 | -7/+19 |
| | | | | fixes #495 | ||||
* | more info on thread local storage | Andy McCurdy | 2014-06-16 | 3 | -9/+58 |
| | |||||
* | restore default Lock token storage, add toggle to make it thread-local | wil paredes | 2014-06-06 | 3 | -4/+24 |
| | | | | | * add thread_local=False parameter to Lock.__init__() and StrictRedis.lock() * use thread_local to decide whether to put token in thread-local storage | ||||
* | Merge pull request #491 from dystedium/fixlock3 | Andy McCurdy | 2014-06-05 | 2 | -11/+13 |
|\ | | | | | move Lock.token attribute into thread-local storage | ||||
| * | lock tests: change lock.token to lock.local.token | wil paredes | 2014-06-05 | 1 | -3/+3 |
| | | |||||
| * | move Lock.token attribute into thread-local storage | wil paredes | 2014-06-05 | 1 | -8/+10 |
|/ | |||||
* | Merge pull request #489 from dystedium/fixlock2 | Andy McCurdy | 2014-06-05 | 1 | -9/+7 |
|\ | | | | | Lock.release(): reorder code to avoid token overwrite | ||||
| * | Lock.release(): reorder code to avoid token overwrite | wil paredes | 2014-06-05 | 1 | -9/+7 |
|/ | | | | | | * assignment to self.token was not protected by the lock, so the value could get overwritten * do_release() now has an expected_token parameter that receives the old token value * NOTE: this only fixes the issue for locks that do not have timeouts | ||||
* | 2.10.12.10.1 | Andy McCurdy | 2014-06-02 | 1 | -1/+1 |
| | |||||
* | need to detect READONLY errors in read_response, now send_command. real fix | Andy McCurdy | 2014-06-02 | 2 | -2/+6 |
| | | | | for #435 | ||||
* | travis still hasn't updated to 3.4.1 =/ | Andy McCurdy | 2014-06-01 | 1 | -1/+0 |
| | |||||
* | update travis config to test against python 3.4 | Andy McCurdy | 2014-06-01 | 1 | -4/+5 |
| | |||||
* | 2.10.02.10.0 | Andy McCurdy | 2014-06-01 | 2 | -2/+2 |
| | |||||
* | changelog | Andy McCurdy | 2014-06-01 | 1 | -0/+7 |
| | |||||
* | add a lock implementation using Lua scripts. | Andy McCurdy | 2014-06-01 | 3 | -37/+197 |
| | |||||
* | updated Lock class: | Andy McCurdy | 2014-06-01 | 4 | -42/+255 |
| | | | | | * now uses unique string tokens to claim lock ownership * added extend() method to extend the timeout on an already acquired lock | ||||
* | move Lock class to it's own module | Andy McCurdy | 2014-05-31 | 3 | -93/+6 |
| | |||||
* | add .python-version to .gitignore | Andy McCurdy | 2014-05-31 | 1 | -0/+1 |
| | |||||
* | test against Python 3.4 with tox. note 3.4.0 has issues, use 3.4.1 instead | Andy McCurdy | 2014-05-29 | 2 | -1/+9 |
| | |||||
* | using repr() on a long value includes the trailing "L". use str() instead. | Andy McCurdy | 2014-05-28 | 1 | -2/+4 |
| | | | | fixes #484 | ||||
* | changelog | Andy McCurdy | 2014-05-27 | 1 | -0/+5 |
| | |||||
* | Don't retry commands that fail due to a socket.timeout by default. | Andy McCurdy | 2014-05-27 | 4 | -20/+42 |
| | | | | | | | | | | | | | | | | | | | | Users now have the ability about how socket.timeout errors are handled. Previously socket.timeout errors were handled just like any other socket error in that the command would be retried once. This createed a potential race condition when the client sends a command to a busy Redis server that can't reply faster than the client's `socket_timeout` option. In this case, the server will still eventually process the command. There's now a `retry_on_timeout` option that's set to False by default. If `retry_on_timeout` is False, any socket.timeout error will raise a TimeoutError exception. If `retry_on_timeout` is set to True, the client will retry executing the command once just like other socket.error exceptions. TODO: Write better tests for this code. TODO: Much of this logic could/should be moved to the ConnectionPool or Connection objects. Fixes #261 | ||||
* | only pass explicitly defined or socket_* options to sentinel connections. | Andy McCurdy | 2014-05-26 | 1 | -14/+43 |
| | | | | fixed #483 | ||||
* | it's ok if max_connections is a long. | Andy McCurdy | 2014-05-26 | 1 | -9/+5 |
| | |||||
* | consistent naming, #446 | Andy McCurdy | 2014-05-14 | 3 | -19/+22 |
| | |||||
* | added socket_connect_timeout and socket_keepalive options. fixed #353 | Andy McCurdy | 2014-05-13 | 3 | -15/+63 |
| | |||||
* | allow cert_reqs to be a string and convert it to the appropriate SSL constant. | Andy McCurdy | 2014-05-13 | 2 | -0/+36 |
| | |||||
* | construct SSL connections from URLs. #446 | Andy McCurdy | 2014-05-13 | 1 | -0/+9 |
| | |||||
* | added the ablity to pass ssl options to client classes. #446 | Andy McCurdy | 2014-05-13 | 2 | -6/+20 |
| |