Bump horizon wsgi props and make configurable
In MOS we're using formula, but it should be more or less always correct to have 6/15 for CCP: https://github.com/openstack/fuel-library/blob/master/deployment/puppet/openstack_tasks/manifests/horizon/horizon.pp#L138-L139 Change-Id: Ib3e11642e4db9c8c417718db284ef418b031669f
This commit is contained in:
parent
fa94640e15
commit
d35fa560f3
|
@ -2,6 +2,9 @@ configs:
|
|||
horizon_port: 80
|
||||
horizon_secret_key: secret
|
||||
|
||||
horizon_wsgi_processes: 6
|
||||
horizon_wsgi_threads: 15
|
||||
|
||||
sources:
|
||||
openstack/horizon:
|
||||
git_url: https://github.com/openstack/horizon.git
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<VirtualHost *:{{ horizon_port }}>
|
||||
WSGIScriptAlias / {{ venv_path }}/openstack_dashboard/wsgi/django.wsgi
|
||||
WSGIScriptAlias /horizon {{ venv_path }}/openstack_dashboard/wsgi/django.wsgi
|
||||
WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 python-path={{ venv_path }}
|
||||
WSGIDaemonProcess horizon user=horizon group=horizon processes={{ horizon_wsgi_processes }} threads={{ horizon_wsgi_threads }} python-path={{ venv_path }}
|
||||
WSGIProcessGroup horizon
|
||||
|
||||
Alias /static {{ venv_path }}/static
|
||||
|
|
Loading…
Reference in New Issue