SetCommonRetryBackoffInterval set retry to use a capped exponential backoff with jitter for requests fired from the client. https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
(min, max time.Duration)
| 1417 | // with jitter for requests fired from the client. |
| 1418 | // https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/ |
| 1419 | func (c *Client) SetCommonRetryBackoffInterval(min, max time.Duration) *Client { |
| 1420 | c.getRetryOption().GetRetryInterval = backoffInterval(min, max) |
| 1421 | return c |
| 1422 | } |
| 1423 | |
| 1424 | // SetCommonRetryHook set the retry hook which will be executed before a retry. |
| 1425 | // It will override other retry hooks if any been added before. |