Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.
This repository was archived by the owner on May 5, 2021. It is now read-only.

Possible to check on lock status? #18

Description

@bingwenhe

Hi all,

First thank you all for the great work with redis-lock, truly useful.

One question, how can I check if a resource is locked or not? I understand that I should go check in Redis database if this "recourse" key exists or not. But it seems I have to implement this myself? Or is there already existing way to do this?

Thank you very much.

// Bingwen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions