Skip to content

Commit

Permalink
Revert "aws: set max retries back to 20"
Browse files Browse the repository at this point in the history
This reverts commit 4f1ed08.
  • Loading branch information
azr committed Jan 24, 2019
1 parent 6e115cb commit dafb513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/amazon/common/access_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/aws/aws-sdk-go/service/ec2/ec2iface"
cleanhttp "github.com/hashicorp/go-cleanhttp"
"github.com/hashicorp/go-cleanhttp"
"github.com/hashicorp/packer/template/interpolate"
)

Expand Down Expand Up @@ -52,7 +52,7 @@ func (c *AccessConfig) Session() (*session.Session, error) {

// default is 3, and when it was causing failures for users being throttled
// retries are exponentially backed off.
config = config.WithMaxRetries(20)
config = config.WithMaxRetries(8)

region, err := c.region()
if err != nil {
Expand Down

0 comments on commit dafb513

Please sign in to comment.