Skip to content

Commit

Permalink
Revert "BCDA-8528-Update-MaxIdleConnsPerHost (#1019)"
Browse files Browse the repository at this point in the history
This reverts commit 75fb669.
  • Loading branch information
carlpartridge committed Dec 20, 2024
1 parent 3a17171 commit a00923e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bcda/client/bluebutton.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,7 @@ func NewBlueButtonClient(config BlueButtonConfig) (*BlueButtonClient, error) {
// Ensure that we have compression enabled. This allows the transport to request for gzip content
// and handle the decompression transparently.
// See: https://golang.org/src/net/http/transport.go?s=3396:10950#L182 for more information
DisableCompression: false,
MaxIdleConns: 100, // default value
MaxIdleConnsPerHost: 100, // Upped from 2 to 100 to match the default value of MaxIdleConns
IdleConnTimeout: 90 * time.Second, // default value
MaxConnsPerHost: 0, // default value (0 means no limit)
DisableCompression: false,
}
var timeout int
if timeout, err = strconv.Atoi(conf.GetEnv("BB_TIMEOUT_MS")); err != nil {
Expand Down

0 comments on commit a00923e

Please sign in to comment.