Fix keystone_httpd_mpm_max_requests default value

At the moment keystone_httpd_mpm_server_limit appears as string,
so instead of multiplication of integers we repeat value of
`keystone_httpd_mpm_server_limit` `keystone_httpd_mpm_thread_child` times
which is not what we want to do.
So we apply int filter to ensure we do math operation on integers.

Change-Id: Ib3258eb018f758edb9a6a9424a7be8266c7e9fd6
This commit is contained in:
Dmitriy Rabotyagov 2022-01-02 10:48:10 +02:00
parent e8fb247481
commit 145b219a83
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ keystone_httpd_mpm_min_spare_threads: 25
keystone_httpd_mpm_max_spare_threads: 75
keystone_httpd_mpm_thread_limit: 64
keystone_httpd_mpm_thread_child: 25
keystone_httpd_mpm_max_requests: "{{ keystone_httpd_mpm_server_limit * keystone_httpd_mpm_thread_child }}"
keystone_httpd_mpm_max_requests: "{{ keystone_httpd_mpm_server_limit | int * keystone_httpd_mpm_thread_child | int }}"
keystone_httpd_mpm_max_conn_child: 0
## uWSGI setup