django-redis icon indicating copy to clipboard operation
django-redis copied to clipboard

Lock documentation missing any information on what it is not suitable for

Open nwns opened this issue 6 years ago • 2 comments

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.

nwns avatar Nov 16 '19 15:11 nwns

Hello @nwns!

Would you like to propose a PR solving this issue?

WisdomPill avatar Oct 09 '20 06:10 WisdomPill

What changes do you think should be made in the docs?

Have you seen this?

WisdomPill avatar May 27 '21 16:05 WisdomPill