sigil icon indicating copy to clipboard operation
sigil copied to clipboard

Parameterize Retry logic to Config

Open klauern opened this issue 4 years ago • 0 comments

I've been experimenting with different retry logic configurations for different use cases. It would be nice to be able to specify the different retry options in a configuration file, environment variable, or flag (or all 3).

https://github.com/danmx/sigil/blob/c4ad2896a0df0fe77987afc9afe280a6de925efb/pkg/aws/aws.go#L93-L97

I currently have a retry policy that is much higher than the default, but I am not sure whether that should be a universal setting, so I would prefer not to force it on everyone using this tool:

image

klauern avatar Dec 03 '20 18:12 klauern