Add parameters to configure number of processes and threads of horizon
Change-Id: Ib5490d504a5b7c9a37dda7babf1257aa661c11de
This commit is contained in:
parent
470108a1c0
commit
dc3489df18
@ -97,6 +97,13 @@ horizon_logging_debug: "{{ openstack_logging_debug }}"
|
|||||||
horizon_keystone_url: "{{ keystone_internal_url }}/v3"
|
horizon_keystone_url: "{{ keystone_internal_url }}/v3"
|
||||||
|
|
||||||
|
|
||||||
|
####################
|
||||||
|
# Apache
|
||||||
|
####################
|
||||||
|
horizon_wsgi_processes: "{{ openstack_service_workers }}"
|
||||||
|
horizon_wsgi_threads: 1
|
||||||
|
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# Kolla
|
# Kolla
|
||||||
####################
|
####################
|
||||||
|
@ -12,7 +12,7 @@ TraceEnable off
|
|||||||
CustomLog /var/log/kolla/horizon/horizon-access.log logformat
|
CustomLog /var/log/kolla/horizon/horizon-access.log logformat
|
||||||
|
|
||||||
WSGIScriptReloading On
|
WSGIScriptReloading On
|
||||||
WSGIDaemonProcess horizon-http processes={{ openstack_service_workers }} threads=1 user=horizon group=horizon display-name=%{GROUP} python-path={{ python_path }}
|
WSGIDaemonProcess horizon-http processes={{ horizon_wsgi_processes }} threads={{ horizon_wsgi_threads }} user=horizon group=horizon display-name=%{GROUP} python-path={{ python_path }}
|
||||||
WSGIProcessGroup horizon-http
|
WSGIProcessGroup horizon-http
|
||||||
WSGIScriptAlias / {{ python_path }}/openstack_dashboard/wsgi/django.wsgi
|
WSGIScriptAlias / {{ python_path }}/openstack_dashboard/wsgi/django.wsgi
|
||||||
WSGIPassAuthorization On
|
WSGIPassAuthorization On
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Added parameters ``horizon_wsgi_processes`` and ``horizon_wsgi_threads`` to configure
|
||||||
|
the number of processes and threads of WSGI in the Horizon container.
|
Loading…
Reference in New Issue
Block a user