redislock icon indicating copy to clipboard operation
redislock copied to clipboard

Release lock without acquire

Open friesencr opened this issue 9 months ago • 1 comments

We have some code that runs where the acquire and release are not in the same process. When using the token you can reaquire the lock which is great. This introduces a split second if the lock has expired that it is created again. It would be nice to be able to release the lock without acquiring it.

friesencr avatar Jul 11 '25 16:07 friesencr

Good idea. Would you be able to provide a PR for it?

dim avatar Jul 16 '25 09:07 dim