increase max retries from 3 to 20
This commit is contained in:
parent
9cefd69f0d
commit
2b9f937c23
|
@ -43,6 +43,9 @@ func (c *AccessConfig) Session() (*session.Session, error) {
|
||||||
config.WithCredentials(staticCreds)
|
config.WithCredentials(staticCreds)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// default is 3, and when it was causing failures for users being throttled
|
||||||
|
config = config.WithMaxRetries(20)
|
||||||
|
|
||||||
if c.RawRegion != "" {
|
if c.RawRegion != "" {
|
||||||
config = config.WithRegion(c.RawRegion)
|
config = config.WithRegion(c.RawRegion)
|
||||||
} else if region := c.metadataRegion(); region != "" {
|
} else if region := c.metadataRegion(); region != "" {
|
||||||
|
|
Loading…
Reference in New Issue