diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-27 18:39:24 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-27 18:39:24 +0800 |
commit | bc3a4c136d54cad35c3f976c7f82662c4e079c3c (patch) | |
tree | 57f1af99236e2b6a6001b9ddc38031e2e9452bcb /res | |
parent | 4e48c38380c5e101b9b73b6b044666e1dcb2d4a8 (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')
-rwxr-xr-x | res/run.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |