Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose RetryServerErrors as a part of the config object.
The client exposes a receiver method called RetryServerErrors which toggles a flag, c.retryServerErrors, that enables/disables the retry logic in the http client. This means however, you could only enable the retry logic once the client was created, meaning any failed metadata request in `NewClient()` would not be retried. We've extended the interface of the client config object to allow enabling `c.retryServerErrors` during client init `NewClient()`.
- Loading branch information