aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Berendt <berendt@betacloud-solutions.de>2016-10-10 14:07:32 +0200
committerChristian Berendt <berendt@betacloud-solutions.de>2016-10-10 14:07:32 +0200
commit053b90454b60509dd5b324c0dff7c2b8c91e888c (patch)
tree5005b478f95b994740256e584a7128542bf9be3e
parentb58147bcc0a98f694075b9593bffced1ab63bec0 (diff)
downloadkolla-053b90454b60509dd5b324c0dff7c2b8c91e888c.tar.gz
kolla-053b90454b60509dd5b324c0dff7c2b8c91e888c.zip
Make number of aodh-api processes configurable
TrivialFix Change-Id: Ifeaf69c9a3c8cf7ee85f831793311a011d778f6e
-rw-r--r--ansible/roles/aodh/templates/wsgi-aodh.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 b/ansible/roles/aodh/templates/wsgi-aodh.conf.j2
index 448820469..e09266198 100644
--- a/ansible/roles/aodh/templates/wsgi-aodh.conf.j2
+++ b/ansible/roles/aodh/templates/wsgi-aodh.conf.j2
@@ -19,7 +19,7 @@ Listen {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['addr
ServerSignature Off
CustomLog "/var/log/kolla/aodh/aodh_wsgi_access.log" combined
WSGIApplicationGroup %{GLOBAL}
- WSGIDaemonProcess aodh group=aodh processes=2 threads=2 user=aodh python-path={{ python_path }}
+ WSGIDaemonProcess aodh group=aodh processes={{ openstack_service_workers }} threads=1 user=aodh python-path={{ python_path }}
WSGIProcessGroup aodh
WSGIScriptAlias / "/var/www/cgi-bin/aodh/app.wsgi"
</VirtualHost>