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

Add backoff_factor to __retry and set some reasonable values #59

Merged
merged 1 commit into from Aug 1, 2022

Conversation

mimi1vx
Copy link
Member

@mimi1vx mimi1vx commented Aug 1, 2022

Original __retry used backoff_factor 5 wich with high retry value
caused too big time between retries.

For 20 retries with backoff_factor 5:
[5, 15, 35, 75, 155, 315, 635, 1275, 2555, 5115, 10235, 20475, 40955,
81915, 163835, 327675, 655355, 1310715, 2621435, 5242875]

so this limit max retries to 10 with reasonable backoff_factor

Original __retry used backoff_factor 5 wich with high retry value
caused too big time between retries.

For 20 retries with backoff_factor 5:
[5, 15, 35, 75, 155, 315, 635, 1275, 2555, 5115, 10235, 20475, 40955,
81915, 163835, 327675, 655355, 1310715, 2621435, 5242875]

so this limit max retries to 10 with reasonable backoff_factor
@mergify mergify bot merged commit 8802836 into openSUSE:master Aug 1, 2022
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.

None yet

2 participants