Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with redis-py lock implementation #16

Open
philipp-schmidt opened this issue Nov 14, 2020 · 0 comments
Open

Compatibility with redis-py lock implementation #16

philipp-schmidt opened this issue Nov 14, 2020 · 0 comments

Comments

@philipp-schmidt
Copy link

On first glance the implementation here seems to be the same as the lock implementation of redis-py, a very common python redis client implementation.
As debugging (and especially reproducing) lock errors can be very hard though, could someone with more insight (maybe @danielstjules?) confirm that this implementation is compatible with the way redis-py implements its locks?

https://github.com/andymccurdy/redis-py/blob/b940d073de4c13f8dfb08728965c6ac7c183c935/redis/lock.py

The Lua Scripts in both implementations basically do the same and the lock acquiring is the very same call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant