Skip to content

Conversation

maksymmalyhin
Copy link
Contributor

  • 403 - unrecoverable
  • 401 and 404 - no backoff as they are auto-recoverable by the SDK
  • connection errors - no backoff
  • 429, 5xx - maximum backoff interval 30 min
  • tests

@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

@maksymmalyhin maksymmalyhin merged commit a348f72 into feature/fis-backoff Aug 7, 2020
@maksymmalyhin maksymmalyhin deleted the mm/fis-backoff2 branch August 7, 2020 20:43
maksymmalyhin added a commit that referenced this pull request Aug 10, 2020
* FirebaseInstallations: API requests backoff (#6207)

* FIRInstallationsBackoffController introduced

* FIRCurrentDateProvider introduced

* FIRInstallationsBackoffControllerTests

* style

* FIRInstallationsBackoffController implementation

* WIP: tests

* Response to backoff event mapping

* FIRInstallationsIDController: integration with FIRInstallationsBackoffController

* Remove not existing error code.

* FIRInstallationsIDController: integration with FIRInstallationsBackoffController

* FIRInstallationsIDController: depend on FIRInstallationsBackoffControllerProtocol

* FIRInstallationsIDControllerTests: supplement tests with backoff validation

* TODOs

* TODO

* API docs

* Header import fixed

* FIS backoff adjustments and tests (#6230)

* Maximum backoff interval 30 min

* Errors adjusted

* Tests updated

* Exclude 401 and 404 from backoff as autorecoverable

* comments

* FIS 1.6.0 changelog (#6234)

* Change log version fixed
@firebase firebase locked and limited conversation to collaborators Sep 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants