Navigation Menu

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

docs: update comments #1188

Merged
merged 2 commits into from Jan 6, 2022
Merged

docs: update comments #1188

merged 2 commits into from Jan 6, 2022

Conversation

BenWhitehead
Copy link
Collaborator

Comment fixes from review after merge of #1152

@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/java-storage API. label Jan 6, 2022
RetrySettings retrySettings =
StorageOptions.getDefaultRetrySettings()
.toBuilder()
// to set the max number of attempts to 10
// Set the max number of attempts to 10 (initial attempt plus 9 retries)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this part can just be "(default=1)" to show that the default number of attempts is 1.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The default number of attempts is 6, so that'd be 5 retries.

@BenWhitehead BenWhitehead merged commit d58e67c into googleapis:main Jan 6, 2022
@BenWhitehead BenWhitehead deleted the retry-sample-fixes branch January 6, 2022 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants