Skip to content

RetryHelper can be configured to not retry on socket timeouts. - #882

Closed
mderka wants to merge 1 commit into
googleapis:masterfrom
mderka:retryhelper
Closed

mderka wants to merge 1 commit into
googleapis:masterfrom
mderka:retryhelper

Conversation

@mderka

@mderka mderka commented Apr 8, 2016

Copy link
Copy Markdown

I added a parameter in the retry helper method which indicates whether retries should be attempted on timeouts. The default value is true.

I considered adding this to retryParams, but I concluded that this is related to the nature of the operation where the retry helper is being used and not to the the configuration itself. Therefore, I chose this solution using an extra parameter.

I adjusted DNS accordingly. Other services can follow.

This fixes #816 and #808.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: dns Issues related to the Cloud DNS API. cla: yes This human has signed the Contributor License Agreement. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a retry helper that doesn't retry on socket timeouts

4 participants