Add --enable-threads to uwsgi 26/88526/1
authorfujinhua <fu.jinhua@zte.com.cn>
Mon, 27 May 2019 10:38:19 +0000 (18:38 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Mon, 27 May 2019 10:38:19 +0000 (18:38 +0800)
Change-Id: Iadbcbda705c42d4dcc3e553aab052c364be60ff6
Issue-ID: VFC-1397
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
run.sh

diff --git a/run.sh b/run.sh
index a410074..0ee08d5 100755 (executable)
--- 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