-
Notifications
You must be signed in to change notification settings - Fork 284
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
Remove custom retry map for exponential retries. #2688
Labels
Good First Issue
Good first issue for new engineers
P1
Medium priority
QA: Eng
Requires specialized QA by an engineer
Rollover
Issues which role over to the next sprint
Type: Enhancement
Improvement of an existing feature
Milestone
Comments
adamsilverstein
added
Type: Bug
Something isn't working
Good First Issue
Good first issue for new engineers
labels
Jan 26, 2021
felixarntz
added
Next Up
P1
Medium priority
Type: Enhancement
Improvement of an existing feature
and removed
Type: Bug
Something isn't working
labels
Jan 26, 2021
Noting here that we'll need to require at least version 2.9.0 of the |
@adamsilverstein Can you update the ACs and IB based on the above? Afterwards should be good. |
👍🏼 Updated. |
IB ✅ |
7 tasks
Added a PR and QA:Eng line. |
QA ✅ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Good First Issue
Good first issue for new engineers
P1
Medium priority
QA: Eng
Requires specialized QA by an engineer
Rollover
Issues which role over to the next sprint
Type: Enhancement
Improvement of an existing feature
Bug Description
In #2442 / b1b73c9 we added a custom retry map for exponential retries. The main reason we added this was to avoid retrying for lightouseErrors which can return a 500 code even when not retryable.
Since that time, I opened a PR to add this config to the upstream library which has now been merged: googleapis/google-api-php-client#2010. The client config now matches ours, so we can remove our custom config:
https://github.com/adamsilverstein/google-api-php-client/blob/b4aadd3a71213a19a9076af90a1cbef85eec8a83/src/Task/Runner.php#L75-L86
Steps to reproduce
Screenshots
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
/includes/Core/Authentication/Clients/OAuth_Client.php
:$client->setConfig( 'retry_map', $this->retry_map );
composer.json
update the version forgoogle/apiclient
to the latest released version. (currently 2.9.1).Test Coverage
Visual Regression Changes
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: