From: fujinhua Date: Mon, 27 May 2019 10:39:24 +0000 (+0800) Subject: Add --enable-threads to uwsgi X-Git-Tag: 1.3.2~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bc3a4c136d54cad35c3f976c7f82662c4e079c3c;p=vfc%2Fgvnfm%2Fvnfres.git Add --enable-threads to uwsgi Change-Id: Id0460cfcc5796ad1f548fcbe1d6fc3d763a87bb8 Issue-ID: VFC-1397 Signed-off-by: fujinhua --- 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