diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index ae94e2cdc6..b7465ceba5 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -37,6 +37,7 @@ class openstack_project::gerrit ( $httpd_acceptorthreads = '', $httpd_minthreads = '', $httpd_maxthreads = '', + $httpd_maxqueued = '', $httpd_maxwait = '', $war = '', $contactstore = false, @@ -135,6 +136,7 @@ class openstack_project::gerrit ( httpd_acceptorthreads => $httpd_acceptorthreads, httpd_minthreads => $httpd_minthreads, httpd_maxthreads => $httpd_maxthreads, + httpd_maxqueued => $httpd_maxqueued, httpd_maxwait => $httpd_maxwait, commentlinks => [ { diff --git a/modules/openstack_project/manifests/review.pp b/modules/openstack_project/manifests/review.pp index 4028945e8f..7c82d07991 100644 --- a/modules/openstack_project/manifests/review.pp +++ b/modules/openstack_project/manifests/review.pp @@ -21,6 +21,10 @@ # http: # //groups.google.com/group/repo-discuss/browse_thread/thread/b91491c185295a71 +# httpd.maxQueued: +# Default value is too low, should increase to new default. +# https://gerrit-review.googlesource.com/#/c/70627 + # httpd.maxWait: # 12:07 <@spearce> httpd.maxwait defaults to 5 minutes and is how long gerrit # waits for an idle sshd.thread before aboring the http request @@ -113,6 +117,7 @@ class openstack_project::review ( core_packedgitwindowsize => '16k', sshd_threads => '100', index_threads => 4, + httpd_maxqueued => '200', httpd_maxwait => '5000min', war => 'http://tarballs.openstack.org/ci/gerrit/gerrit-v2.11.4.11.a14450f.war',