Skip to content

Commit

Permalink
[ffresty] [bug] Set maxConnsPerHost Based on Config
Browse files Browse the repository at this point in the history
Signed-off-by: hfuss <[email protected]>
  • Loading branch information
onelapahead committed Oct 22, 2024
1 parent 9da872a commit 2fa6c00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ffresty/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func GenerateConfig(ctx context.Context, conf config.Section) (*Config, error) {
HTTPRequestTimeout: fftypes.FFDuration(conf.GetDuration(HTTPConfigRequestTimeout)),
HTTPIdleConnTimeout: fftypes.FFDuration(conf.GetDuration(HTTPIdleTimeout)),
HTTPMaxIdleConns: conf.GetInt(HTTPMaxIdleConns),
HTTPMaxConnsPerHost: conf.GetInt(HTTPMaxConnsPerHost),
HTTPConnectionTimeout: fftypes.FFDuration(conf.GetDuration(HTTPConnectionTimeout)),
HTTPTLSHandshakeTimeout: fftypes.FFDuration(conf.GetDuration(HTTPTLSHandshakeTimeout)),
HTTPExpectContinueTimeout: fftypes.FFDuration(conf.GetDuration(HTTPExpectContinueTimeout)),
Expand Down

0 comments on commit 2fa6c00

Please sign in to comment.