From: Dylan William Hardison Date: Tue, 16 Oct 2018 17:50:49 +0000 (-0400) Subject: no bug - saner defaults for pre-forking servers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29c2c66350c4cb4c346861389486a6e41046685c;p=thirdparty%2Fbugzilla.git no bug - saner defaults for pre-forking servers --- diff --git a/Bugzilla/Quantum.pm b/Bugzilla/Quantum.pm index 4fddb8da9..7f359830b 100644 --- a/Bugzilla/Quantum.pm +++ b/Bugzilla/Quantum.pm @@ -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'], }, ); diff --git a/README.rst b/README.rst index e20be7f38..a857a207d 100644 --- a/README.rst +++ b/README.rst @@ -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.