diff options
| author | Andy McCurdy <andy@andymccurdy.com> | 2019-01-02 14:13:44 -0800 |
|---|---|---|
| committer | Andy McCurdy <andy@andymccurdy.com> | 2019-01-02 14:13:44 -0800 |
| commit | a3cfded93afa2a65908f05ac251b18d77fa84dd2 (patch) | |
| tree | 893d14fa7a6e39a24c446110c17dabf36b0be9d3 /tests/test_commands.py | |
| parent | 1214b357badb2cfa2a85a462d8e35749785d0744 (diff) | |
| download | redis-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 'tests/test_commands.py')
0 files changed, 0 insertions, 0 deletions
