Use openstack_service_workers variable in horizon.conf.j2

Change-Id: I69c94895e4a6f6173363ce818f69344c0fdb22a4
This commit is contained in:
caowei 2017-01-05 14:06:16 +08:00
parent 3513ab825d
commit ae88c6fcdf

View File

@ -7,7 +7,7 @@ Listen {{ api_interface_address }}:{{ horizon_port }}
CustomLog /var/log/kolla/horizon/horizon-access.log combined
WSGIScriptReloading On
WSGIDaemonProcess horizon-http processes=5 threads=1 user=horizon group=horizon display-name=%{GROUP} python-path={{ python_path }}
WSGIDaemonProcess horizon-http processes={{ openstack_service_workers }} threads=1 user=horizon group=horizon display-name=%{GROUP} python-path={{ python_path }}
WSGIProcessGroup horizon-http
WSGIScriptAlias / {{ python_path }}/openstack_dashboard/wsgi/django.wsgi
WSGIPassAuthorization On