SetRetryMax configures the amount of time the client will retry the request.
(rm uint)
| 63 | |
| 64 | // SetRetryMax configures the amount of time the client will retry the request. |
| 65 | func SetRetryMax(rm uint) { |
| 66 | retryMax = rm |
| 67 | } |
| 68 | |
| 69 | // SetRetryDefaultTimeout configures the default timeout before making a retry in a failed request. |
| 70 | func SetRetryDefaultTimeout(t time.Duration) { |