Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to retry with given delay time, not with random time and to raise TimeoutException #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ziwon
Copy link

@ziwon ziwon commented Sep 25, 2017

As mentioned like #13,
Have modified to retry with the fixed delay time, not with random time between 0 ~ 200ms to avoid unluckily situation which could fail to acquire lock in zero seconds. And also modified to raise RedLockError when retry times has elapsed than TTL while retrying to acquire lock. In fact, not sure what the right way is, 'cause I'm newbie to here.

@mostafa-K-raihan
Copy link

any chance this pr getting merged anytime soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants