aws client: config.WithMaxRetries(8)

This commit is contained in:
Adrien Delorme 2018-11-01 15:09:07 +01:00
parent f4fbf45349
commit 3f288fc6ca
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ func (c *AccessConfig) Session() (*session.Session, error) {
}
// default is 3, and when it was causing failures for users being throttled
config = config.WithMaxRetries(20)
// retries are exponentially backed off.
config = config.WithMaxRetries(8)
region, err := c.region()
if err != nil {