ionelmc / python-redis-lock

Lock context manager implemented via redis SET NX EX and BLPOP.
https://pypi.python.org/pypi/python-redis-lock
BSD 2-Clause "Simplified" License
551 stars 77 forks source link

When creating lock with given `id` check if it's held #39

Closed ionelmc closed 8 years ago

ionelmc commented 8 years ago

ref: https://github.com/ionelmc/python-redis-lock/issues/25#issuecomment-186264000