jazzband/django-redis
View on GitHubLock documentation missing any information on what it is not suitable for
Open
#398 opened on Nov 16, 2019
documentationgood first issue
Repository metrics
- Stars
- (3,075 stars)
- PR merge metrics
- (PR metrics pending)
Description
The lock documentation suggests that this can be used to create redis distributed named locks, possibly redlocks.
The implementation of lock django-redis puts this on the underlying redis connection library, as far as I can tell this is redis-py, which says the following about its lock implementation
It's left to the user to resolve deadlock issues and make sure multiple clients play nicely together.
The documentation for lock should include this caveat.