Add function to get token
kshamajain99 opened this issue · comments
Kshama Jain commented
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.
Dimitrij Denissenko commented
Deprecated in favour of https://github.com/bsm/redislock