DistributedLocks icon indicating copy to clipboard operation
DistributedLocks copied to clipboard

More Control over the storage lease would be ideal for longer time consuming processes.

Open nairashu opened this issue 4 years ago • 0 comments

I was trying to use this package as a part of my code. However, in my case, operations that would need the distributed locks run well over a minute. In some cases, it could take up to 15-20 mins to complete. Azure Blob storage provides a way to get a lease for an infinite duration which can then be cleaned and cancelled by your Release Lease method.

The bug here is to enable the creation of a lock with infinite lease duration and then exposing the method to release the lease as a public function or will get cleaned up at the end of the execution of the lock.

nairashu avatar Feb 19 '21 21:02 nairashu