remove default max retries config of 8, it will now be used from env
removing the code that wants to guess region from metadata allows us to change that setting, which can now be taken from environment.
This commit is contained in:
parent
964b149df2
commit
4a2773f8fa
|
@ -48,10 +48,6 @@ func (c *AccessConfig) Session() (*session.Session, error) {
|
|||
config.WithCredentials(staticCreds)
|
||||
}
|
||||
|
||||
// default is 3, and when it was causing failures for users being throttled
|
||||
// retries are exponentially backed off.
|
||||
config = config.WithMaxRetries(8)
|
||||
|
||||
if c.RawRegion != "" {
|
||||
config = config.WithRegion(c.RawRegion)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue