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