Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #645 from cvrebert/redis-url | Andy McCurdy | 2016-09-06 | 1 | -1/+4 | |
|\ \ | | | | | | | Link to redis:// & rediss:// scheme IANA registrations in docs | |||||
| * | | Link to redis:// & rediss:// scheme IANA registrations in docs | Chris Rebert | 2015-08-13 | 1 | -1/+4 | |
| | | | ||||||
* | | | Fix transposition of GEORADIUS arguments | Alex DeBrie | 2016-07-10 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge pull request #698 from mumumu/add_replace_option_to_restore_command | Andy McCurdy | 2016-06-15 | 1 | -2/+5 | |
|\ \ \ | | | | | | | | | implemented REPLACE modifier of restore command | |||||
| * | | | - added replace option to restore command | Yoshinari Takaoka | 2015-12-28 | 1 | -2/+5 | |
| | | | | ||||||
* | | | | Merge pull request #747 from pfreixes/geo_commands | Andy McCurdy | 2016-06-14 | 1 | -3/+172 | |
|\ \ \ \ | | | | | | | | | | | Implemented support for the GEO commands for Redis 3.2.0 | |||||
| * | | | | Fixed issues regarding Python3 | pfreixes | 2016-06-14 | 1 | -4/+4 | |
| | | | | | ||||||
| * | | | | Geo Commands, return Python native types | Pau Freixes | 2016-06-14 | 1 | -4/+44 | |
| | | | | | ||||||
| * | | | | Implemented support for the GEO commands for Redis 3.2.0 | pfreixes | 2016-05-16 | 1 | -0/+129 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The following commands have been implemented GEOADD, GEODIST, GEOHASH, GEOPOS, GEORADIUS, GEORADIUSBYMEMBER. | |||||
* | | | | | Merge pull request #751 from cjsimpson/token-cache | Andy McCurdy | 2016-06-14 | 1 | -26/+27 | |
|\ \ \ \ \ | | | | | | | | | | | | | Improve performance for Python 3.x | |||||
| * | | | | | Cache Token objects to improve performance. | Chris Simpson | 2016-06-12 | 1 | -26/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Token class now contains a cache of tokens, and each token stores its encoded value. In Python 3 this prevents encoding the Token commands (get, set, incr, etc...) repeatly. There is also a smaller performance improvement by creating fewer objects. A very basic benchmark script was also added. | |||||
* | | | | | | pubsub: improve error reporting if caller forgets to subscribe | Greg Ward | 2016-06-12 | 1 | -0/+4 | |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an easy mistake to make -- at least, I keep making it. It formerly resulted in a confusing crash, "AttributeError: 'NoneType' object has no attribute 'can_read'", from parse_response(). I have had to dig into the redis-py source code more than once to figure out what went wrong. With this patch, it still crashes, but with a clearer error that clarifies what the calling code forgot to do. Fixes issue #716. | |||||
* | | | | | Check `int` also not only `long` | Jeong YunWon | 2016-05-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | PyPy can generate an `int` instance here. | |||||
* | | | | | add daemon option to PubSubWorker so ctrl-c will work | Keith Ainsworth | 2016-05-17 | 1 | -3/+4 | |
|/ / / / | ||||||
* | | | | Merge pull request #685 from iandyh/master | Andy McCurdy | 2016-02-18 | 1 | -1/+49 | |
|\ \ \ \ | | | | | | | | | | | Redis cluster commands | |||||
| * | | | | redis cluster commands | iandyh | 2015-12-01 | 1 | -1/+49 | |
| |/ / / | ||||||
* | | | | Fix typo in comment. | Greg Ward | 2015-12-09 | 1 | -2/+2 | |
|/ / / | ||||||
* | | | fix getitem syntax for redis get when value is the empty string | Javier Candeira | 2015-11-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | max_connections should default to None | Andy McCurdy | 2015-11-02 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #665 from ohadpartuck/connection_pool_max_connections | Andy McCurdy | 2015-11-02 | 1 | -2/+4 | |
|\ \ \ | | | | | | | | | adding max_connections option to StrictRedis Class | |||||
| * | | | adding max_connections option to StrictRedis Class | Ohad Perry | 2015-10-13 | 1 | -2/+4 | |
| | | | | ||||||
* | | | | -Add CHANGES message. | Christian Bodt | 2015-10-20 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | -Rename variables for coherence | |||||
* | | | | -added zrevrangebylex | Christian Bodt | 2015-10-20 | 1 | -0/+16 | |
|/ / / | ||||||
* | | | Avoid needlessly making temporary lists to merge dict(s) together | Joshua Harlow | 2015-09-27 | 1 | -1/+2 | |
|/ / | ||||||
* | | support multiple keys for pfcount call | Chris Wilkes | 2015-05-22 | 1 | -3/+3 | |
| | | ||||||
* | | Add WAIT command for Redis synchronous replication | eshizhan | 2015-01-15 | 1 | -0/+9 | |
|/ | | | | | ref1: https://github.com/antirez/redis/blob/unstable/src/replication.c#L1783, at SYNCHRONOUS REPLICATION ref2: http://antirez.com/news/66 This command for Redis-3.0.0 and above now. | |||||
* | Merge branch 'master' of github.com:andymccurdy/redis-py | Andy McCurdy | 2015-01-02 | 1 | -3/+8 | |
|\ | ||||||
| * | Allow delay between watch errors | Joshua Harlow | 2014-12-08 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | When a watcher error occurs (due to some key being watched being mutated) the current behavior is to immediately try again. To avoid the thundering herd problem a delay is nice to provide to avoid these situations by introducing a sleep period between these types of failures. | |||||
| * | fix pep8 | Hendrik Muhs | 2014-12-04 | 1 | -1/+2 | |
| | | ||||||
| * | UnicodeDecodeErrorfix unicode encode error when using pipeline in ↵ | Hendrik Muhs | 2014-12-04 | 1 | -3/+3 | |
| | | | | | | | | combination with msgpack and lua | |||||
* | | better handling of the pub/sub workerthread's stop behavior | Andy McCurdy | 2015-01-02 | 1 | -20/+29 | |
|/ | | | | | properly unsubscribes and cleans up the connection now. also allows callbacks to call thread.stop() without errors. | |||||
* | docstring | Andy McCurdy | 2014-08-15 | 1 | -3/+9 | |
| | ||||||
* | add optional "timeout" parameter to pubsub.can_read | Andy Isaacson | 2014-08-12 | 1 | -4/+4 | |
| | ||||||
* | Merge pull request #501 from jettify/master | Andy McCurdy | 2014-07-06 | 1 | -4/+24 | |
|\ | | | | | Added bitpos command | |||||
| * | bitpos command implementation | Nickolai Novik | 2014-06-21 | 1 | -4/+24 | |
| | | ||||||
* | | Consistent option names for encoding and encoding_errors. Fixes #510 | Andy McCurdy | 2014-07-03 | 1 | -4/+14 | |
|/ | ||||||
* | pack multiple commands in a pipeline into larger strings. | Andy McCurdy | 2014-06-16 | 1 | -7/+3 | |
| | | | | fixes #495 | |||||
* | more info on thread local storage | Andy McCurdy | 2014-06-16 | 1 | -5/+25 | |
| | ||||||
* | restore default Lock token storage, add toggle to make it thread-local | wil paredes | 2014-06-06 | 1 | -2/+8 | |
| | | | | | * add thread_local=False parameter to Lock.__init__() and StrictRedis.lock() * use thread_local to decide whether to put token in thread-local storage | |||||
* | add a lock implementation using Lua scripts. | Andy McCurdy | 2014-06-01 | 1 | -4/+18 | |
| | ||||||
* | updated Lock class: | Andy McCurdy | 2014-06-01 | 1 | -2/+8 | |
| | | | | | * 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 | 1 | -92/+1 | |
| | ||||||
* | Don't retry commands that fail due to a socket.timeout by default. | Andy McCurdy | 2014-05-27 | 1 | -7/+17 | |
| | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | consistent naming, #446 | Andy McCurdy | 2014-05-14 | 1 | -4/+4 | |
| | ||||||
* | added socket_connect_timeout and socket_keepalive options. fixed #353 | Andy McCurdy | 2014-05-13 | 1 | -1/+7 | |
| | ||||||
* | added the ablity to pass ssl options to client classes. #446 | Andy McCurdy | 2014-05-13 | 1 | -2/+14 | |
| | ||||||
* | Merge branch 'pr/446' | Andy McCurdy | 2014-05-12 | 1 | -0/+0 | |
|\ | | | | | | | | | | | Conflicts: redis/client.py redis/connection.py | |||||
| * | fixing coding style | Oran Agra | 2014-03-25 | 1 | -2/+2 | |
| | | | | | | | | E127 continuation line over-indented for visual indent | |||||
| * | fix line too long (coding style test) | Oran Agra | 2014-03-23 | 1 | -1/+3 | |
| | | ||||||
| * | add SSL support | Oran Agra | 2014-03-22 | 1 | -3/+20 | |
| | |