Skip to content

Commit

Permalink
update responseHeaderTimeout to 5sec
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunKoyalwar committed Apr 24, 2024
1 parent fef5d47 commit feb65e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/protocols/http/httpclientpool/clientpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (
clientPool *mapsutil.SyncLockMap[string, *retryablehttp.Client]
// ResponseHeaderTimeout is the timeout for response headers
// to be read from the server (this prevents infinite hang started by server if any)
ResponseHeaderTimeout = time.Duration(8) * time.Second
ResponseHeaderTimeout = time.Duration(5) * time.Second
// HttpTimeoutMultiplier is the multiplier for the http timeout
HttpTimeoutMultiplier = 3
)
Expand Down

0 comments on commit feb65e2

Please sign in to comment.