From a00923e49eafcad9b2d84063f7f74a9f7b57ef28 Mon Sep 17 00:00:00 2001 From: carlpartridge Date: Fri, 20 Dec 2024 17:12:55 -0500 Subject: [PATCH] Revert "BCDA-8528-Update-MaxIdleConnsPerHost (#1019)" This reverts commit 75fb669cf7251f0bab36050ca6de986fbb1622cf. --- bcda/client/bluebutton.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bcda/client/bluebutton.go b/bcda/client/bluebutton.go index 99b465583..44fb15686 100644 --- a/bcda/client/bluebutton.go +++ b/bcda/client/bluebutton.go @@ -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 {