Skip to content
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 default retry logic to force clients to implement on their own #286

Merged
merged 6 commits into from
Dec 8, 2023

Conversation

kag728
Copy link
Contributor

@kag728 kag728 commented Dec 4, 2023

This PR removes all default retry logic from elastomer-client, putting the burden on the consumer to implement retry logic using Faraday as they wish.

This removes max_retries and retry_delay parameters from the initialization since they're no longer used anywhere. This is a breaking change, and once merged, will require a major version upgrade of elsatomer-client.

@kag728 kag728 changed the title Change retry logic to default faraday retries Remove default retry logic to force clients to implement on their own Dec 5, 2023
misalcedo
misalcedo previously approved these changes Dec 6, 2023
test/client_test.rb Outdated Show resolved Hide resolved
test/client_test.rb Outdated Show resolved Hide resolved
@kag728 kag728 marked this pull request as ready for review December 7, 2023 21:34
@kag728 kag728 requested review from misalcedo and ndonewar December 7, 2023 21:34
Copy link
Contributor

@misalcedo misalcedo left a comment

Choose a reason for hiding this comment

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

LGTM

@kag728 kag728 merged commit 6a850b5 into main Dec 8, 2023
3 checks passed
@kag728 kag728 deleted the kag728/RetryGem branch December 8, 2023 14:44
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