Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

Make MaxTries configurable #250

@SStorm

Description

@SStorm

It's currently hardcoded to 3 attempts, which is not enough in some cases. I.e. we have a heavily used testing account where API throttling happens often. The code in question is this:

in aws/client.go

var retryingTransport = &ResilientTransport{
        Deadline: func() time.Time {
                return time.Now().Add(5 * time.Second)
        },
        DialTimeout: 10 * time.Second,
        MaxTries:    3,
        ShouldRetry: awsRetry,
        Wait:        ExpBackoff,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions