-
Notifications
You must be signed in to change notification settings - Fork 41
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 retries to 429 errors for REST transport #16857
base: main
Are you sure you want to change the base?
Add retries to 429 errors for REST transport #16857
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
Integration Test Results 60 files 60 suites 37m 54s ⏱️ Results for commit 99e2bab. ♻️ This comment has been updated with latest results. |
…ttps://github.com/CDCgov/prime-reportstream into Flexion/jgilmore/update-rest-transport-retry-logic
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR adjusts the logic for REST transport error handling for client request exceptions if they are 429 - Too Many Requests errors to make use of the retry functionality. ETOR has a use case where a partner has extremely strict rate-limiting in place and we anticipate we may occasionally hit the rate limit in the course of normal operations and need to retry.
Test Steps:
Changes
Checklist
Testing
./prime test
or./gradlew testSmoke
against local Docker ReportStream container?Linked Issues