Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add an Option to disable retries #694

Merged
merged 13 commits into from
Nov 13, 2024
Merged

Add an Option to disable retries #694

merged 13 commits into from
Nov 13, 2024

Conversation

waahm7
Copy link
Contributor

@waahm7 waahm7 commented Nov 11, 2024

Issue #, if available:
aws/aws-sdk-cpp#3131

Description of changes:

A value of 0 is treated as default, and users have no way to disable retries. Setting the bucket capacity to 1 leads to one retry. This PR adds an explicit option to disable retries if required.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@waahm7 waahm7 marked this pull request as ready for review November 11, 2024 23:04
@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2024

Codecov Report

Attention: Patch coverage is 77.27273% with 5 lines in your changes missing coverage. Please review.

Project coverage is 80.08%. Comparing base (c15417b) to head (2195a32).

Files with missing lines Patch % Lines
source/no_retry_strategy.c 77.27% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #694      +/-   ##
==========================================
- Coverage   80.09%   80.08%   -0.02%     
==========================================
  Files          28       29       +1     
  Lines        5979     6001      +22     
==========================================
+ Hits         4789     4806      +17     
- Misses       1190     1195       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@TingDaoK TingDaoK left a comment

Choose a reason for hiding this comment

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

fix&ship

@waahm7 waahm7 merged commit fcb38c8 into main Nov 13, 2024
39 checks passed
@waahm7 waahm7 deleted the no-retry branch November 13, 2024 17:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants