summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | fix retry logic for StricRedisAaron Yang2018-08-231-1/+1
| | | |
* | | | changelogAndy McCurdy2019-01-271-0/+3
| | | |
* | | | Merge pull request #1087 from oridistor/ssl_sniAndy McCurdy2019-01-271-5/+18
|\ \ \ \ | | | | | | | | | | Add support for SNI connection to Redis-py
| * \ \ \ Merge pull request #1 from RoeyPrat/roey-pycodestyle_oridistororidistor2018-11-271-4/+5
| |\ \ \ \ | | | | | | | | | | | | pycodestyle fixes to connection.py
| | * | | | pycodestyle fixes to connection.pyRoey Prat2018-11-271-4/+5
| |/ / / /
| * | | | Made sure SSL SNI will not affect using redis-py in versions older than 2.7.9Ori Markovitch2018-11-261-9/+17
| | | | |
| * | | | Add SSL SNI supportDanni Moiseyev2018-11-261-5/+9
| | | | |
* | | | | Merge pull request #1043 from Siecje/reprAndy McCurdy2019-01-271-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix ConnectionPool repr when using default values
| * | | | | Fix ConnectionPool repr when using default valuesCody Scot2018-10-261-1/+1
| | | | | |
* | | | | | Added a test for #1126Andy McCurdy2019-01-273-4/+6
| | | | | |
* | | | | | Merge pull request #1126 from guybe7/geohash_fixAndy McCurdy2019-01-271-1/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | GEOHASH response may contain None elements
| * | | | | | GEOHASH response may contain None elementsGuy Benoish2019-01-231-1/+7
| | | | | | |
* | | | | | | Fixes #1116Andy McCurdy2019-01-272-1/+4
| | | | | | |
* | | | | | | Merge branch 'master' into xreadgroup_handle_nil_fieldsAndy McCurdy2019-01-272-1/+13
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge pull request #1120 from johntmyers/add-noackAndy McCurdy2019-01-102-1/+14
| |\ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | Added noack option for XREADGROUP
| | * | | | | Added noack option for XREADGROUPJohn T. Myers2019-01-102-1/+14
| |/ / / / /
* | | | | | Fix #1116 - trimmed stream causes exception on xreadgroup with id 0Xabier Eizmendi2019-01-102-0/+18
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | messages Signed-off-by: Xabier Eizmendi <xeizmendi@gmail.com>
* | | | | Lock objects now support specifying token values and ownership checkingAndy McCurdy2019-01-023-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lock.acquire() can now be provided a token. If provided, this value will be used as the value stored in Redis to hold the lock. Lock.owned() returns a boolean indicating whether the lock is owned by the current instance.
* | | | | typoAndy McCurdy2018-12-291-1/+1
| | | | |
* | | | | changelogAndy McCurdy2018-12-281-0/+3
| | | | |
* | | | | Merge pull request #1014 from ikalnytskyi/lock-resetAndy McCurdy2018-12-282-0/+64
|\ \ \ \ \ | | | | | | | | | | | | Add `.reacquire()` method to Lock
| * | | | | Add `.reacquire()` method to LockIhor Kalnytskyi2018-12-282-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Lock` class provides a method called `.extend()` to manage a TTL of the acquired lock. However, the method allows only to extend a timeout of existing lock by N seconds, there's no way you can reset a TTL to the timeout value you passed to this lock. There could be multiple use cases for such behaviour. For instance, one may want to use a lock to implement active/passive behaviour where only one process owns a lock and resets its TTL all over again until it dies. This commit adds a new method called `.reacquire()` to reset a TTL of the acquired lock back to the passed timeout value.
* | | | | | Merge pull request #1111 from jdufresne/bytesAndy McCurdy2018-12-283-4/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Remove unnecessary compat shim for 'bytes'
| * | | | | Remove unnecessary compat shim for 'bytes'Jon Dufresne2018-12-283-4/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Both Python 2.7 & Python 3 have the types bytes. On Python 2.7, it is an alias for the type str, same as what was previously defined in _compat.py.
* | | | | Encode Stream message names within XREAD and XREADGROUP responses correctlyAndy McCurdy2018-12-273-7/+9
| | | | | | | | | | | | | | | | | | | | Stream message now respect the decode_responses flag.
* | | | | changelogAndy McCurdy2018-12-271-0/+3
| | | | |
* | | | | fixed travis configAndy McCurdy2018-12-271-1/+1
| | | | |
* | | | | use redis 5.0.3 on travis-ciAndy McCurdy2018-12-271-1/+1
| | | | |
* | | | | XPENDING range queries no longer allow COUNT to be infiniteAndy McCurdy2018-12-271-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Redis 5.0.1 and beyond require that COUNT be specified as a positive integer. Since we can't guess the maximum possible value (UULONG_MAX can vary based on server architecture), force min/max/count to be required arguments
* | | | | redis >= 5.0.1 changed behavior of XREADGROUP stream IDAndy McCurdy2018-12-271-38/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Redis versions 5.0.1 require messages to be read with the special ID '>' when using XREADGROUP Fixes #1073
* | | | | ZADD correctly returns None in certain edge cases when incr=TrueAndy McCurdy2018-12-273-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When incr=True and xx=True and an element is specified that doesn't exist the Redis server returns None. redis-py now does this as well. Fixes #1084
* | | | | Merge pull request #1110 from jdufresne/disutilsAndy McCurdy2018-12-271-19/+12
|\ \ \ \ \ | | | | | | | | | | | | Remove outdated distutils fallback
| * | | | | Remove outdated distutils fallbackJon Dufresne2018-12-201-19/+12
|/ / / / / | | | | | | | | | | | | | | | | | | | | Modern Python environments have setuptools or pip installed. The distutils fallback is unnecessary.
* | | | | Merge pull request #1077 from oranagra/fix_info_parsingAndy McCurdy2018-12-181-2/+6
|\ \ \ \ \ | | | | | | | | | | | | Re-fix the recently broken INFO parsing, see #1018
| * | | | | Re-fix the recently broken INFO parsing, see #1018Oran Agra2018-11-181-2/+6
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | The value part of the info line may contains : in many cases, most importantly an IPv6 slave address, may cause the parser to crash.
* | | | | changelogAndy McCurdy2018-12-171-2/+7
| | | | |
* | | | | Merge pull request #1098 from theodesp/client-kill-filterAndy McCurdy2018-12-173-1/+104
|\ \ \ \ \ | | | | | | | | | | | | Add client kill with filter
| * | | | | pep8 fixAndy McCurdy2018-12-171-2/+4
| | | | | |
| * | | | | fix missing parensAndy McCurdy2018-12-171-2/+2
| | | | | |
| * | | | | small cleanup of client_kill_filterAndy McCurdy2018-12-171-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | changed skipme to a bool use a list to accumulate filter options
| * | | | | Added test case for filterTheo Despoudis2018-12-081-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | | | Code review fixesTheo Despoudis2018-12-063-58/+61
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | | | Fixes codestyle issuesTheo Despoudis2018-12-041-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | | | Simplified key, value handling inside for-range loopTheo Despoudis2018-12-041-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | | | Removed ambiguous argument handlingTheo Despoudis2018-12-041-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| * | | | | Add client kill with filterTheo Despoudis2018-12-043-1/+81
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
* | | | | | Merge pull request #1105 from marc1n/masterAndy McCurdy2018-12-172-14/+75
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix #764 - sub-unsub-resub caused PubSub() to forget the channel
| * | | | | | Fix code styleMarcin Raczyński2018-12-171-2/+4
| | | | | | |
| * | | | | | Fix #764 - sub-unsub-resub caused PubSub() to forget the channelMarcin Raczyński2018-12-172-14/+73
|/ / / / / /
* | | | | | Merge pull request #1101 from jdufresne/extrasAndy McCurdy2018-12-061-2/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Use tox "extras" option to install package extras