From ab18dbfde5fab3f05c4f07d9573464c4bba7167a Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 13 Feb 2019 11:17:02 -0800 Subject: [PATCH] uwsgi: Increase buffer-size to 8192. For users putting Zulip behind certain proxies (and potentially some third-party API clients), buffer sizes can exceed the uwsgi default of 4096. Since we aren't doing such high-throughput APIs that a small buffer size is valuable, we should just raise this for everyone. --- puppet/zulip/templates/uwsgi.ini.template.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/puppet/zulip/templates/uwsgi.ini.template.erb b/puppet/zulip/templates/uwsgi.ini.template.erb index b5fec3f491..368dc5d8b6 100644 --- a/puppet/zulip/templates/uwsgi.ini.template.erb +++ b/puppet/zulip/templates/uwsgi.ini.template.erb @@ -7,6 +7,7 @@ chmod-socket=700 chown-socket=zulip:zulip processes=<%= @uwsgi_processes %> harakiri=20 +buffer-size=8192 post-buffering=4096 env= LANG=en_US.UTF-8 uid=zulip