puppet: Make uwsgi buffer size configurable.

This commit is contained in:
Tim Abbott 2019-03-15 10:26:11 -07:00
parent 9037ef56dc
commit b1da797955
2 changed files with 2 additions and 1 deletions

View File

@ -89,6 +89,7 @@ class zulip::app_frontend_base {
notify => Service[$zulip::common::supervisor_service],
}
$uwsgi_buffer_size = zulipconf('application_server', 'uwsgi_buffer_size', 8192)
$uwsgi_processes = zulipconf('application_server', 'uwsgi_processes', $uwsgi_default_processes)
file { '/etc/zulip/uwsgi.ini':
ensure => file,

View File

@ -7,7 +7,7 @@ chmod-socket=700
chown-socket=zulip:zulip
processes=<%= @uwsgi_processes %>
harakiri=20
buffer-size=8192
buffer-size=<%= @uwsgi_buffer_size %>
post-buffering=4096
env= LANG=en_US.UTF-8
uid=zulip