mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
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:
parent
531f8b295a
commit
aaf493bc1b
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue