Allow configuration of Gerrit httpd.maxQueued option
Allow puppet to configure the Gerrit 2.11 httpd.maxQueued[1] option. [1] https://gerrit-documentation.storage.googleapis.com/ Documentation/2.11/config-gerrit.html#httpd.maxQueued Change-Id: Iea202fcfe7af4a9d5b4c3a360124c24649b1133b
This commit is contained in:
parent
185f87b585
commit
1a7e671d40
|
@ -53,6 +53,7 @@
|
|||
# httpd_acceptorthreads:
|
||||
# httpd_minthreads:
|
||||
# httpd_maxthreads:
|
||||
# httpd_maxqueued:
|
||||
# httpd_maxwait:
|
||||
# Gerrit configuration options; see Gerrit docs.
|
||||
# commentlinks:
|
||||
|
@ -176,6 +177,7 @@ class gerrit(
|
|||
$httpd_acceptorthreads = '',
|
||||
$httpd_minthreads = '',
|
||||
$httpd_maxthreads = '',
|
||||
$httpd_maxqueued = '',
|
||||
$httpd_maxwait = '',
|
||||
$commentlinks = [],
|
||||
$trackingids = [],
|
||||
|
@ -368,6 +370,7 @@ class gerrit(
|
|||
# - $httpd_acceptorthreads
|
||||
# - $httpd_minthreads
|
||||
# - $httpd_maxthreads
|
||||
# - $httpd_maxqueued
|
||||
# - $commentlinks
|
||||
# - $trackingids
|
||||
# - $enable_melody
|
||||
|
|
|
@ -100,6 +100,9 @@
|
|||
<% if @httpd_maxthreads != "" -%>
|
||||
maxThreads = <%= @httpd_maxthreads %>
|
||||
<% end -%>
|
||||
<% if @httpd_maxqueued != "" -%>
|
||||
maxQueued = <%= @httpd_maxqueued %>
|
||||
<% end -%>
|
||||
[cache]
|
||||
directory = cache
|
||||
[cache "web_sessions"]
|
||||
|
|
Loading…
Reference in New Issue