From bc3a4c136d54cad35c3f976c7f82662c4e079c3c Mon Sep 17 00:00:00 2001 From: fujinhua Date: Mon, 27 May 2019 18:39:24 +0800 Subject: Add --enable-threads to uwsgi Change-Id: Id0460cfcc5796ad1f548fcbe1d6fc3d763a87bb8 Issue-ID: VFC-1397 Signed-off-by: fujinhua --- res/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'res/run.sh') diff --git a/res/run.sh b/res/run.sh index 77beb8a..e371a04 100755 --- a/res/run.sh +++ b/res/run.sh @@ -21,8 +21,8 @@ fi # nohup python manage.py runserver 0.0.0.0:8802 > /dev/null & if [ "${SSL_ENABLED}" = "true" ]; then - nohup uwsgi --https :8802,res/pub/ssl/cert/foobar.crt,res/pub/ssl/cert/foobar.key, -t 120 --module res.wsgi --master --processes 4 & + nohup uwsgi --https :8802,res/pub/ssl/cert/foobar.crt,res/pub/ssl/cert/foobar.key, -t 120 --enable-threads --module res.wsgi --master --processes 4 & else - nohup uwsgi --http :8802 -t 120 --module res.wsgi --master --processes 4 & + nohup uwsgi --http :8802 -t 120 --enable-threads --module res.wsgi --master --processes 4 & fi -- cgit 1.2.3-korg