reduce verbosity of retryablehttpclient

The default client appears to be pretty spammy and flood us with
debug messages about POST and GET requests, and honestly we don't really
need these or benefit from them, I don't think, so let's not.
This commit is contained in:
Seebs 2022-09-22 14:51:48 -05:00 committed by Christopher Lowenthal
parent 531f8b295a
commit aaf493bc1b

View file

@ -103,6 +103,7 @@ func WithClientRetryPeriod(period time.Duration) InternalClientOption {
rc.RetryWaitMin = min
rc.RetryMax = int(attempts)
rc.CheckRetry = retryWith400Policy
rc.Logger = logger.NopLogger
c.retryableClient = rc
}
}