aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-05-27 18:38:19 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-05-27 18:38:19 +0800
commitdb4c5e3f42eaf6d8d8554a0dc54f09d965d6145f (patch)
tree3bdd33bc847bd98b612f63f5c8b0d0e579500aba /run.sh
parentbe7e73d93fec07d925ae8c7ba52b4917c7987e74 (diff)
Add --enable-threads to uwsgi
Change-Id: Iadbcbda705c42d4dcc3e553aab052c364be60ff6 Issue-ID: VFC-1397 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.sh b/run.sh
index a4100743..0ee08d5a 100755
--- a/run.sh
+++ b/run.sh
@@ -23,7 +23,7 @@ fi
if [ "${SSL_ENABLED}" = "true" ]; then
- nohup uwsgi --https :8806,catalog/pub/ssl/cert/foobar.crt,catalog/pub/ssl/cert/foobar.key, -t 120 --module catalog.wsgi --master --processes 4 &
+ nohup uwsgi --https :8806,catalog/pub/ssl/cert/foobar.crt,catalog/pub/ssl/cert/foobar.key, -t 120 --enable-threads --module catalog.wsgi --master --processes 4 &
else
- nohup uwsgi --http :8806 -t 120 --module catalog.wsgi --master --processes 4 &
+ nohup uwsgi --http :8806 -t 120 --enable-threads --module catalog.wsgi --master --processes 4 &
fi