bsm / redis-lock

[DEPRECATED] Please see https://github.com/bsm/redislock instead

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add function to get token

kshamajain99 opened this issue · comments

We need a way to check that lock is held by which instance.
TokenPrefix helps us in setting instanceId as prefix to token.
But, there is no way to check tokenPrefix back in our code.