(attempt int)
| 1013 | } |
| 1014 | |
| 1015 | func (c *baseClient) retryBackoff(attempt int) time.Duration { |
| 1016 | return internal.RetryBackoff(attempt, c.opt.MinRetryBackoff, c.opt.MaxRetryBackoff) |
| 1017 | } |
| 1018 | |
| 1019 | func (c *baseClient) cmdTimeout(cmd Cmder) time.Duration { |
| 1020 | if timeout := cmd.readTimeout(); timeout != nil { |
no test coverage detected