jazzband/django-redis
在 GitHub 查看Lock documentation missing any information on what it is not suitable for
Open
#398 建立於 2019年11月16日
documentationgood first issue
倉庫指標
- Star
- (3,075 star)
- PR 合併指標
- (PR 指標待抓取)
描述
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.