diff options
author | Igor <iwiedler@gitlab.com> | 2020-05-08 13:11:49 +0300 |
---|---|---|
committer | Vladimir Shushlin <vshushlin@gitlab.com> | 2020-05-08 13:11:49 +0300 |
commit | 8b60c18f1f68a0899815ebc0e2f24559c74649f3 (patch) | |
tree | 7910e77b6a9bcdfdab21e8a5b7b1372841a84d62 /internal/artifact | |
parent | 71417ad27d55fe2dd197f21d4a1454fb3bb552eb (diff) |
explicitly set MaxIdleConns, so that it is clear we need to update it when increasing MaxIdleConnsPerHost
Diffstat (limited to 'internal/artifact')
-rw-r--r-- | internal/artifact/artifact.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/artifact/artifact.go b/internal/artifact/artifact.go index 91ecbcf8..ef173d9e 100644 --- a/internal/artifact/artifact.go +++ b/internal/artifact/artifact.go @@ -51,7 +51,7 @@ func New(server string, timeoutSeconds int, pagesDomain string) *Artifact { suffix: "." + strings.ToLower(pagesDomain), client: &http.Client{ Timeout: time.Second * time.Duration(timeoutSeconds), - Transport: httptransport.Transport, + Transport: httptransport.InternalTransport, }, } } |