summaryrefslogtreecommitdiffstats
path: root/starlingx
diff options
context:
space:
mode:
Diffstat (limited to 'starlingx')
-rwxr-xr-xstarlingx/run.sh4
-rw-r--r--starlingx/starlingx/urls.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/starlingx/run.sh b/starlingx/run.sh
index e7f210ac..a2dc4a75 100755
--- a/starlingx/run.sh
+++ b/starlingx/run.sh
@@ -18,10 +18,10 @@ export PYTHONPATH=lib/share
uwsgi --http :9009 --module starlingx.wsgi --master --processes 4
if [ ${SSL_ENABLED} = "true" ]; then
- nohup uwsgi --https :9009,starlingx/pub/ssl/cert/cert.crt,starlingx/pub/ssl/cert/cert.key --module starlingx.wsgi --master --processes 4 &
+ nohup uwsgi --https :9009,starlingx/pub/ssl/cert/cert.crt,starlingx/pub/ssl/cert/cert.key --module starlingx.wsgi --master --enable-threads --processes 4 &
else
- nohup uwsgi --http :9009 --module starlingx.wsgi --master --processes 4 &
+ nohup uwsgi --http :9009 --module starlingx.wsgi --master --enable-threads --processes 4 &
logDir="/var/log/onap/multicloud/openstack/starlingx"
if [ ! -x $logDir ]; then
diff --git a/starlingx/starlingx/urls.py b/starlingx/starlingx/urls.py
index d08a2068..5a76b330 100644
--- a/starlingx/starlingx/urls.py
+++ b/starlingx/starlingx/urls.py
@@ -16,7 +16,7 @@ from django.conf.urls import include, url
from starlingx_base.registration import registration
from newton_base.openoapi import tenants
from newton_base.resource import capacity
-from newton_base.resource import infra_workload
+from starlingx_base.resource import infra_workload
urlpatterns = [
url(r'^', include('starlingx.swagger.urls')),