SPSCommerce / redlock-py

Redis distributed locks in Python
MIT License
572 stars 117 forks source link

Fixes for default retries. #32

Open alekseysink opened 3 years ago

alekseysink commented 3 years ago

If we need no reties, it's not possible in the current implementation, I have added changes, that it accept retry_count=0, and retry_delay=0, and don't sleep on the last retry step.