Skip to content

Commit

Permalink
Merge pull request #153 from kaleido-io/set-maxconn-per-host
Browse files Browse the repository at this point in the history
[ffresty] [bug] Set maxConnsPerHost Based on Config
  • Loading branch information
peterbroadhurst authored Oct 22, 2024
2 parents 9da872a + 2fa6c00 commit 39b8ed5
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 39b8ed5

Please sign in to comment.