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

Configure Godo Retryable HTTP Client #1016

Merged
merged 20 commits into from
Aug 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
remove hardcoded var
  • Loading branch information
danaelhe committed Aug 15, 2023
commit b6201314a154bc0e45c2564d04521276758702b2
2 changes: 1 addition & 1 deletion digitalocean/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (c *Config) Client() (*CombinedConfig, error) {

if c.HTTPRetryMax > 0 {
retryConfig := godo.RetryConfig{
RetryMax: 3,
RetryMax: c.HTTPRetryMax,
RetryWaitMin: godo.PtrTo(c.HTTPRetryWaitMin),
RetryWaitMax: godo.PtrTo(c.HTTPRetryWaitMax),
}
Expand Down