Skip to content

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
@BenWhitehead BenWhitehead requested a review from cbonnie January 6, 2022 18:42
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.

3 participants