]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - saner defaults for pre-forking servers
authorDylan William Hardison <dylan@hardison.net>
Tue, 16 Oct 2018 17:50:49 +0000 (13:50 -0400)
committerGitHub <noreply@github.com>
Tue, 16 Oct 2018 17:50:49 +0000 (13:50 -0400)
Bugzilla/Quantum.pm
README.rst

index 4fddb8da9b0b22fd1c5d6b67fefec6bbaa968c2b..7f359830be4c03175af75d92a7cbf0605594d493 100644 (file)
@@ -50,9 +50,9 @@ sub startup {
       heartbeat_interval => $ENV{MOJO_HEARTBEAT_INTERVAL} // 10,
       heartbeat_timeout  => $ENV{MOJO_HEARTBEAT_TIMEOUT} // 120,
       inactivity_timeout => $ENV{MOJO_INACTIVITY_TIMEOUT} // 120,
-      workers            => $ENV{MOJO_WORKERS} // 15,
-      clients            => $ENV{MOJO_CLIENTS} // 10,
-      spare              => $ENV{MOJO_SPARE} // 5,
+      workers            => $ENV{MOJO_WORKERS} // 1,
+      clients            => $ENV{MOJO_CLIENTS} // 200,
+      spare              => $ENV{MOJO_SPARE} // 1,
       listen             => [$ENV{MOJO_LISTEN} // 'http://*:3000'],
     },
   );
index e20be7f3843f7a0f92e427ffb01483b9e451ad6e..a857a207d65f150292f22f6804ef4ae0f6f01281 100644 (file)
@@ -287,7 +287,7 @@ MOJO_CLIENTS
   that high concurrency works best with applications that perform mostly
   non-blocking operations, to optimize for blocking operations you can decrease
   this value and increase "MOJO_WORKERS" instead for better performance.
-  Default: 10
+  Default: 200
 
 BUGZILLA_UNSAFE_AUTH_DELEGATION
   This should never be set in production. It allows auth delegation over http.