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/auth | |
parent | 71417ad27d55fe2dd197f21d4a1454fb3bb552eb (diff) |
explicitly set MaxIdleConns, so that it is clear we need to update it when increasing MaxIdleConnsPerHost
Diffstat (limited to 'internal/auth')
-rw-r--r-- | internal/auth/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go index f30c7407..c582d96b 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -618,7 +618,7 @@ func New(pagesDomain string, storeSecret string, clientID string, clientSecret s gitLabServer: strings.TrimRight(gitLabServer, "/"), apiClient: &http.Client{ Timeout: 5 * time.Second, - Transport: httptransport.Transport, + Transport: httptransport.InternalTransport, }, store: createCookieStore(storeSecret), } |