Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Enable background worker threads in uwsgi.

Alex Vandiver18ec3b621580
diff --git a/puppet/zulip/templates/uwsgi.ini.template.erb b/puppet/zulip/templates/uwsgi.ini.template.erb
index 71a1e79c227..81dde5dfe13 100644
--- a/puppet/zulip/templates/uwsgi.ini.template.erb
+++ b/puppet/zulip/templates/uwsgi.ini.template.erb
@@ -19,6 +19,9 @@ listen=<%= @uwsgi_listen_backlog_limit %>
master-fifo=/home/zulip/deployments/uwsgi-control
+# Let threads run when processes aren't responding to requests;
+# required for Sentry background worker
+enable-threads=true
# How many serving processes to fork
processes=<%= @uwsgi_processes %>