We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
429 and 5XX errors should be retried
it improves the UX otherwise the dev would have to check the response and implement retries every time this library is used
The text was updated successfully, but these errors were encountered:
a way to fix this is using https://github.com/hashicorp/go-retryablehttp like this:
retryClient := retryablehttp.NewClient() retryClient.RetryMax = 15 standardClient := retryClient.StandardClient() tp := jira.BasicAuthTransport{ Username: username, APIToken: password, Transport: standardClient.Transport, }
Sorry, something went wrong.
No branches or pull requests
What would you like to be added?
429 and 5XX errors should be retried
Why is this needed?
it improves the UX otherwise the dev would have to check the response and implement retries every time this library is used
Anything else we need to know?
The text was updated successfully, but these errors were encountered: