(attempt int)
| 2278 | } |
| 2279 | |
| 2280 | func (c *ClusterClient) retryBackoff(attempt int) time.Duration { |
| 2281 | return internal.RetryBackoff(attempt, c.opt.MinRetryBackoff, c.opt.MaxRetryBackoff) |
| 2282 | } |
| 2283 | |
| 2284 | func (c *ClusterClient) cmdsInfo(ctx context.Context) (map[string]*CommandInfo, error) { |
| 2285 | // Try 3 random nodes. |
no test coverage detected