From 62f82b837f8d2dbc87c3097f7f6b96753025ba10 Mon Sep 17 00:00:00 2001 From: Jaime Martinez Date: Wed, 10 Mar 2021 10:24:55 +1100 Subject: [PATCH] Increase max-conn default to 10000 Related to https://gitlab.com/gitlab-org/gitlab-pages/-/issues/552. Changelog: changed --- internal/config/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/flags.go b/internal/config/flags.go index 30fa58ec5..5d4df8a78 100644 --- a/internal/config/flags.go +++ b/internal/config/flags.go @@ -47,7 +47,7 @@ var ( clientSecret = flag.String("auth-client-secret", "", "GitLab application Client Secret") redirectURI = flag.String("auth-redirect-uri", "", "GitLab application redirect URI") authScope = flag.String("auth-scope", "api", "Scope to be used for authentication (must match GitLab Pages OAuth application settings)") - maxConns = flag.Int("max-conns", 0, "Limit on the number of concurrent connections to the HTTP, HTTPS or proxy listeners, 0 for no limit") + maxConns = flag.Int("max-conns", 10000, "Limit on the number of concurrent connections to the HTTP, HTTPS or proxy listeners, 0 for no limit") insecureCiphers = flag.Bool("insecure-ciphers", false, "Use default list of cipher suites, may contain insecure ones like 3DES and RC4") tlsMinVersion = flag.String("tls-min-version", "tls1.2", tls.FlagUsage("min")) tlsMaxVersion = flag.String("tls-max-version", "", tls.FlagUsage("max")) -- GitLab