mirror of https://github.com/zulip/zulip.git
puppet: Make uwsgi buffer size configurable.
This commit is contained in:
parent
9037ef56dc
commit
b1da797955
|
@ -89,6 +89,7 @@ class zulip::app_frontend_base {
|
||||||
notify => Service[$zulip::common::supervisor_service],
|
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)
|
$uwsgi_processes = zulipconf('application_server', 'uwsgi_processes', $uwsgi_default_processes)
|
||||||
file { '/etc/zulip/uwsgi.ini':
|
file { '/etc/zulip/uwsgi.ini':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
|
|
|
@ -7,7 +7,7 @@ chmod-socket=700
|
||||||
chown-socket=zulip:zulip
|
chown-socket=zulip:zulip
|
||||||
processes=<%= @uwsgi_processes %>
|
processes=<%= @uwsgi_processes %>
|
||||||
harakiri=20
|
harakiri=20
|
||||||
buffer-size=8192
|
buffer-size=<%= @uwsgi_buffer_size %>
|
||||||
post-buffering=4096
|
post-buffering=4096
|
||||||
env= LANG=en_US.UTF-8
|
env= LANG=en_US.UTF-8
|
||||||
uid=zulip
|
uid=zulip
|
||||||
|
|
Loading…
Reference in New Issue