Skip to content

Commit 7f4e45c

Browse files
committed
chore: Update TimeoutConfig struct in httpclient/client.go
1 parent 03b3667 commit 7f4e45c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

httpclient/client.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ type ConcurrencyConfig struct {
9595

9696
// TimeoutConfig holds custom timeout settings.
9797
type TimeoutConfig struct {
98-
CustomTimeout time.Duration `json:"CustomTimeout,omitempty"` // Custom timeout for the HTTP client
99-
TokenRefreshBufferPeriod time.Duration `json:"TokenRefreshBufferPeriod,omitempty"` // Buffer period before token expiry to attempt token refresh
100-
TotalRetryDuration time.Duration `json:"TotalRetryDuration,omitempty"` // Total duration to attempt retries
98+
CustomTimeout time.Duration // Custom timeout for the HTTP client
99+
TokenRefreshBufferPeriod time.Duration // Buffer period before token expiry to attempt token refresh
100+
TotalRetryDuration time.Duration // Total duration to attempt retries
101101
}
102102

103103
// RedirectConfig holds configuration related to redirect handling.

0 commit comments

Comments
 (0)