aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-05 17:50:22 +0000
committerGerrit Code Review <review@openstack.org>2016-11-05 17:50:22 +0000
commit11f14ac3881ab2082c22a0df700260de72958126 (patch)
tree556019c633fa931b7467e22354c5f67cdbdbcc09 /ansible
parentc1d2c54533017949a370a890c166fa51eb01b391 (diff)
parent26c221dbf0cc8b2a07d607263dd602e764483338 (diff)
downloadkolla-11f14ac3881ab2082c22a0df700260de72958126.tar.gz
kolla-11f14ac3881ab2082c22a0df700260de72958126.zip
Merge "Make number of gnocchi-api processes configurable"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 b/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2
index 5d1317ec0..3257eb237 100644
--- a/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2
+++ b/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2
@@ -6,7 +6,7 @@ Listen {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['addr
ErrorLog "/var/log/kolla/gnocchi/gnocchi-api-error.log"
CustomLog "/var/log/kolla/gnocchi/gnocchi-api-access.log" combined
WSGIApplicationGroup %{GLOBAL}
- WSGIDaemonProcess gnocchi group=gnocchi processes=5 threads=1 user=gnocchi python-path={{ python_path }}
+ WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }}
WSGIProcessGroup gnocchi
WSGIScriptAlias / "{{ python_path }}/gnocchi/rest/app.wsgi"