summaryrefslogtreecommitdiffstats
path: root/res/run.sh
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-05-27 18:39:24 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-05-27 18:39:24 +0800
commitbc3a4c136d54cad35c3f976c7f82662c4e079c3c (patch)
tree57f1af99236e2b6a6001b9ddc38031e2e9452bcb /res/run.sh
parent4e48c38380c5e101b9b73b6b044666e1dcb2d4a8 (diff)
Add --enable-threads to uwsgi
Change-Id: Id0460cfcc5796ad1f548fcbe1d6fc3d763a87bb8 Issue-ID: VFC-1397 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'res/run.sh')
-rwxr-xr-xres/run.sh4
1 files changed, 2 insertions, 2 deletions
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