summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2019-01-02 14:13:44 -0800
committerAndy McCurdy <andy@andymccurdy.com>2019-01-02 14:13:44 -0800
commita3cfded93afa2a65908f05ac251b18d77fa84dd2 (patch)
tree893d14fa7a6e39a24c446110c17dabf36b0be9d3 /redis/client.py
parent1214b357badb2cfa2a85a462d8e35749785d0744 (diff)
downloadredis-py-a3cfded93afa2a65908f05ac251b18d77fa84dd2.tar.gz
Lock objects now support specifying token values and ownership checking
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.
Diffstat (limited to 'redis/client.py')
0 files changed, 0 insertions, 0 deletions