fix retries (#10290)
This commit is contained in:
parent
5a804de9a3
commit
b50fe930e5
|
@ -403,6 +403,12 @@ func (c *AccessConfig) Prepare(ctx *interpolate.Context) []error {
|
||||||
}
|
}
|
||||||
c.PollingConfig.LogEnvOverrideWarnings()
|
c.PollingConfig.LogEnvOverrideWarnings()
|
||||||
|
|
||||||
|
// Default MaxRetries to 10, to make throttling issues less likely. The
|
||||||
|
// Aws sdk defaults this to 3, which regularly gets tripped by users.
|
||||||
|
if c.MaxRetries == 0 {
|
||||||
|
c.MaxRetries = 10
|
||||||
|
}
|
||||||
|
|
||||||
return errs
|
return errs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue