Skip to content

feat(request): request retry config option#77

Merged
Michael Matzka (mima0815) merged 2 commits into
mainfrom
feat/requestretry
Apr 5, 2024
Merged

feat(request): request retry config option#77
Michael Matzka (mima0815) merged 2 commits into
mainfrom
feat/requestretry

Conversation

@mima0815
Copy link
Copy Markdown
Contributor

@mima0815 Michael Matzka (mima0815) commented Mar 28, 2024

Description

Allows to configure request retries in case a request returned an error response.
Updated retry defaults.

Checklist

Ensure the following things have been met before requesting a review:

  • Follows all project developer guide and coding standards.
  • Tests have been written for the change, when applicable.
  • Confidential information (credentials, auth tokens, etc...) is not included.

@mima0815 Michael Matzka (mima0815) force-pushed the feat/requestretry branch 10 times, most recently from cf2f2be to 2103422 Compare April 4, 2024 07:05
@mima0815 Michael Matzka (mima0815) changed the title feat(request): add request retries in case of server errors feat(request): allow to configure request retries, new defaults Apr 4, 2024
@mima0815 Michael Matzka (mima0815) changed the title feat(request): allow to configure request retries, new defaults feat(request): allow to configure request retries, updated retry defaults Apr 4, 2024
@mima0815 Michael Matzka (mima0815) marked this pull request as ready for review April 4, 2024 08:53
@mima0815 Michael Matzka (mima0815) requested a review from a team as a code owner April 4, 2024 08:53
@mima0815 Michael Matzka (mima0815) changed the title feat(request): allow to configure request retries, updated retry defaults feat(request): request retry config option, new retry defaults Apr 4, 2024
@mima0815 Michael Matzka (mima0815) changed the title feat(request): request retry config option, new retry defaults feat(request): request retry config option Apr 4, 2024
gdulafactset
gdulafactset previously approved these changes Apr 4, 2024
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please double check if that backoff_factor makes sense. Otherwise LGTM.

@mima0815
Copy link
Copy Markdown
Contributor Author

Please double check if that backoff_factor makes sense. Otherwise LGTM.

Checked to which values other projects set the factor: they use higher values. changed our value to 1.

@mima0815 Michael Matzka (mima0815) deleted the feat/requestretry branch April 5, 2024 12:45
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.

3 participants