This repository was archived by the owner on May 16, 2023. It is now read-only.

Description
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).
|
numMaxRetries = 5 |
|
minRetryDelay = 10 * time.Millisecond |
|
minThrottleDelay = 500 * time.Millisecond |
|
maxRetryDelay = 1 * time.Second |
|
maxThrottleDelay = 4 * time.Second |
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:
