diff options
| author | Christian Berendt <berendt@betacloud-solutions.de> | 2016-10-10 14:09:06 +0200 |
|---|---|---|
| committer | Christian Berendt <berendt@betacloud-solutions.de> | 2016-10-10 14:09:06 +0200 |
| commit | 26c221dbf0cc8b2a07d607263dd602e764483338 (patch) | |
| tree | b3b555eaadb4e7c76b3798ab2ca04edb984c496a | |
| parent | b58147bcc0a98f694075b9593bffced1ab63bec0 (diff) | |
| download | kolla-26c221dbf0cc8b2a07d607263dd602e764483338.tar.gz kolla-26c221dbf0cc8b2a07d607263dd602e764483338.zip | |
Make number of gnocchi-api processes configurable
TrivialFix
Change-Id: Ibbfb214749340454d68ee009a4f90da88fa0d831
| -rw-r--r-- | ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 | 2 |
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" |
