summaryrefslogtreecommitdiff
path: root/redis
Commit message (Collapse)AuthorAgeFilesLines
...
* | | docs typoAndy McCurdy2016-11-081-1/+1
| | |
* | | Fixed typos in docsPramod Bisht2016-09-211-8/+8
| | |
* | | Merge pull request #645 from cvrebert/redis-urlAndy McCurdy2016-09-062-4/+12
|\ \ \ | | | | | | | | Link to redis:// & rediss:// scheme IANA registrations in docs
| * | | Link to redis:// & rediss:// scheme IANA registrations in docsChris Rebert2015-08-132-4/+12
| | | |
* | | | Fix transposition of GEORADIUS argumentsAlex DeBrie2016-07-101-2/+2
| | | |
* | | | Merge pull request #698 from mumumu/add_replace_option_to_restore_commandAndy McCurdy2016-06-151-2/+5
|\ \ \ \ | | | | | | | | | | implemented REPLACE modifier of restore command
| * | | | - added replace option to restore commandYoshinari Takaoka2015-12-281-2/+5
| | | | |
* | | | | Merge pull request #747 from pfreixes/geo_commandsAndy McCurdy2016-06-141-3/+172
|\ \ \ \ \ | | | | | | | | | | | | Implemented support for the GEO commands for Redis 3.2.0
| * | | | | Fixed issues regarding Python3pfreixes2016-06-141-4/+4
| | | | | |
| * | | | | Geo Commands, return Python native typesPau Freixes2016-06-141-4/+44
| | | | | |
| * | | | | Implemented support for the GEO commands for Redis 3.2.0pfreixes2016-05-161-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following commands have been implemented GEOADD, GEODIST, GEOHASH, GEOPOS, GEORADIUS, GEORADIUSBYMEMBER.
* | | | | | Merge pull request #751 from cjsimpson/token-cacheAndy McCurdy2016-06-142-29/+48
|\ \ \ \ \ \ | | | | | | | | | | | | | | Improve performance for Python 3.x
| * | | | | | Cache Token objects to improve performance.Chris Simpson2016-06-122-29/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 subscribeGreg Ward2016-06-121-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.
* | | | | | Retry `select` calls on `InterruptedError`Carlton Gibson2016-06-102-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | Ref #738
* | | | | | Merge pull request #743 from closeio/retry-recv-eintrAndy McCurdy2016-06-052-4/+62
|\ \ \ \ \ \ | | | | | | | | | | | | | | Automatically retry EINTR for Python < 3.5 to prevent duplicate command execution
| * | | | | | Style fixes (2)Thomas Steinacher2016-05-241-2/+2
| | | | | | |
| * | | | | | Style fixesThomas Steinacher2016-05-241-2/+3
| | | | | | |
| * | | | | | For Python < 3.5, automatically retry EINTRThomas Steinacher2016-05-242-4/+61
| | | | | | |
* | | | | | | Check `int` also not only `long`Jeong YunWon2016-05-301-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | PyPy can generate an `int` instance here.
* | | | | | add daemon option to PubSubWorker so ctrl-c will workKeith Ainsworth2016-05-171-3/+4
|/ / / / /
* | | | | PEP8 fixesTim Savage2016-03-291-5/+11
| | | | |
* | | | | Extend ConnectionPool.to_url to parse querystring arguments to correct type.Tim Savage2016-03-291-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | Previously if a value for socket_timeout was supplied as part fo the URL an error would be raised when a socket was created with an invalid type, this change fixes that by parsing `socket_timeout`, `socket_connect_timeout` to float values. In addition the boolean values `socket_keepalive` and `retry_on_timeout` are parsed to bool types taking into account the usage of True/False, Yes/No strings.
* | | | | Merge pull request #685 from iandyh/masterAndy McCurdy2016-02-181-1/+49
|\ \ \ \ \ | | | | | | | | | | | | Redis cluster commands
| * | | | | redis cluster commandsiandyh2015-12-011-1/+49
| |/ / / /
* | | | | Fix typo in comment.Greg Ward2015-12-091-2/+2
|/ / / /
* | | | FIX #651 try next Sentinel node on TimeoutErrorBo Lopker2015-11-271-3/+4
| | | |
* | | | fix getitem syntax for redis get when value is the empty stringJavier Candeira2015-11-251-1/+1
| | | |
* | | | raise TimeoutError if a socket.timeout is raised while connectingAndy McCurdy2015-11-091-0/+2
| | | | | | | | | | | | | | | | fixes #675
* | | | 2.10.5 (incrementing the version to avoid a pypi issue)2.10.5Andy McCurdy2015-11-021-1/+1
| | | |
* | | | 2.10.42.10.4Andy McCurdy2015-11-021-1/+1
| | | |
* | | | socket errors on windows contain more than 2 arguments.Andy McCurdy2015-11-021-3/+4
| | | | | | | | | | | | | | | | fixes #641
* | | | typoAndy McCurdy2015-11-021-2/+2
| | | |
* | | | ignore errors raised in SocketBuffer's close method. See #633.Andy McCurdy2015-11-021-2/+10
| | | |
* | | | max_connections should default to NoneAndy McCurdy2015-11-021-1/+1
| | | |
* | | | Merge pull request #665 from ohadpartuck/connection_pool_max_connectionsAndy McCurdy2015-11-021-2/+4
|\ \ \ \ | | | | | | | | | | adding max_connections option to StrictRedis Class
| * | | | adding max_connections option to StrictRedis ClassOhad Perry2015-10-131-2/+4
| | | | |
* | | | | cleanupAndy McCurdy2015-11-021-7/+2
| | | | |
* | | | | decreased length of exception class retrieving lineth13f2015-10-261-1/+4
| | | | |
* | | | | parsing 'max number of clients reached' as ConnectionErrorth13f2015-10-261-2/+9
| | | | |
* | | | | -Add CHANGES message.Christian Bodt2015-10-201-3/+3
| | | | | | | | | | | | | | | | | | | | -Rename variables for coherence
* | | | | -added zrevrangebylexChristian Bodt2015-10-201-0/+16
|/ / / /
* | | | satisfy pep8 updatesAndy McCurdy2015-09-281-13/+26
| | | |
* | | | removed the proactive check in HiredisParser for a line endingAndy McCurdy2015-09-281-9/+0
| | | | | | | | | | | | | | | | | | | | it turns out just calling into hiredis to test this is faster than doing string compare in Python. fixes #615 and #650.
* | | | Avoid needlessly making temporary lists to merge dict(s) togetherJoshua Harlow2015-09-271-1/+2
|/ / /
* | | support multiple keys for pfcount callChris Wilkes2015-05-221-3/+3
| | |
* | | fix: Connection.encode complains when value is an object having unicode ↵Eric Du2015-05-041-1/+1
| | | | | | | | | | | | characters in its printable representation
* | | Fix pep8 errorsPaul Keene2015-02-101-17/+32
| | |
* | | Handle percent-encoded URLs in parsing codePaul Keene2015-02-092-9/+26
| | |
* | | Add WAIT command for Redis synchronous replicationeshizhan2015-01-151-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.