I'd love to see the ability to pass -1 as an option to retries to keep retrying forever.
In my use case I have several servers running a job scheduler, but I don't want all three scheduling duplicate jobs. But if one of the scheduler processes crashes (or the server goes down), I want another scheduler to acquire the lock and take over.
I'd love to see the ability to pass -1 as an option to retries to keep retrying forever.
In my use case I have several servers running a job scheduler, but I don't want all three scheduling duplicate jobs. But if one of the scheduler processes crashes (or the server goes down), I want another scheduler to acquire the lock and take over.