From ae88c6fcdf7ce4364f94f2bee88aa5efb6d50e1c Mon Sep 17 00:00:00 2001 From: caowei Date: Thu, 5 Jan 2017 14:06:16 +0800 Subject: [PATCH] Use openstack_service_workers variable in horizon.conf.j2 Change-Id: I69c94895e4a6f6173363ce818f69344c0fdb22a4 --- ansible/roles/horizon/templates/horizon.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/horizon/templates/horizon.conf.j2 b/ansible/roles/horizon/templates/horizon.conf.j2 index d180ae3f45..d6d684873b 100644 --- a/ansible/roles/horizon/templates/horizon.conf.j2 +++ b/ansible/roles/horizon/templates/horizon.conf.j2 @@ -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