From 4bb4e236fc3dfa07d2c6b509413509820a200592 Mon Sep 17 00:00:00 2001 From: Lukas Juhrich Date: Thu, 17 Sep 2015 21:05:33 +0200 Subject: [PATCH] Use lazy-apps in uwsgi to fix sentry threading Without this, uWSGI blocks sentry from transporting data because this is done in a separate thread. Without lazy-apps, uWSGI loads apps in the master, which enforces a single-threading operation mode. --- uwsgi.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/uwsgi.ini b/uwsgi.ini index 224201ad..07c35d64 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -5,6 +5,7 @@ wsgi-file = sipa.py callable = app harakiri = 2 enable-threads = true +lazy-apps = true mount = /sipa=sipa.py ; rewrite SCRIPT_NAME and PATH_INFO accordingly