Skip to content

Commit

Permalink
core: Increase response header timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed Dec 19, 2023
1 parent a8bbb8f commit 3c8f32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/httpUtils/httpUtils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func createHTTPClient() *http.Client {
KeepAlive: 30 * time.Second,
}).DialContext
transport.TLSHandshakeTimeout = 7 * time.Second
transport.ResponseHeaderTimeout = 10 * time.Second
transport.ResponseHeaderTimeout = 15 * time.Second
transport.MaxIdleConnsPerHost = 20
transport.IdleConnTimeout = 5 * time.Minute

Expand Down

0 comments on commit 3c8f32d

Please sign in to comment.