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

feat: Add fixed interval retry to requests #1

Merged
merged 2 commits into from
Dec 4, 2018
Merged

feat: Add fixed interval retry to requests #1

merged 2 commits into from
Dec 4, 2018

Conversation

bengourley
Copy link
Contributor

Attempts a request 5 times, waiting a second between attempts.
Does not retry if the error is a validation error.

Alternative to the incremental backoff approach in bugsnag/bugsnag-sourcemaps#26.

Copy link

@kattrali kattrali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@bengourley bengourley merged commit bab1b2b into master Dec 4, 2018
@bengourley bengourley deleted the retry branch December 4, 2018 10:53
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.

2 participants