Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor <iwiedler@gitlab.com>2020-05-08 13:11:49 +0300
committerVladimir Shushlin <vshushlin@gitlab.com>2020-05-08 13:11:49 +0300
commit8b60c18f1f68a0899815ebc0e2f24559c74649f3 (patch)
tree7910e77b6a9bcdfdab21e8a5b7b1372841a84d62 /internal/auth
parent71417ad27d55fe2dd197f21d4a1454fb3bb552eb (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.go2
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),
}