From 053b90454b60509dd5b324c0dff7c2b8c91e888c Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Mon, 10 Oct 2016 14:07:32 +0200 Subject: [PATCH] Make number of aodh-api processes configurable TrivialFix Change-Id: Ifeaf69c9a3c8cf7ee85f831793311a011d778f6e --- ansible/roles/aodh/templates/wsgi-aodh.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 b/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 index 448820469f..e09266198f 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"