Skip to content

Compatibility with redis-py lock implementation #16

@philipp-schmidt

Description

@philipp-schmidt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions