fix(mod_mpm): cast to int to avoid Jinja type mismatch errortags/v0.39.1
<IfModule mpm_prefork_module> | <IfModule mpm_prefork_module> | ||||
StartServers {{ mpm_param['start_servers'] | d('5') }} | StartServers {{ mpm_param['start_servers'] | d('5') }} | ||||
MaxRequestWorkers {{ mpm_param['max_request_workers'] | d('150') }} | MaxRequestWorkers {{ mpm_param['max_request_workers'] | d('150') }} | ||||
{%- if mpm_param['max_request_workers'] | d('150') >= 256 %} | |||||
{%- if mpm_param['max_request_workers'] | d('150') | int >= 256 %} | |||||
ServerLimit {{ mpm_param['max_request_workers'] | d('150') }} | ServerLimit {{ mpm_param['max_request_workers'] | d('150') }} | ||||
{%- endif %} | {%- endif %} | ||||
MinSpareServers {{ mpm_param['min_spare_servers'] | d('5') }} | MinSpareServers {{ mpm_param['min_spare_servers'] | d('5') }} |
<IfModule mpm_prefork_module> | <IfModule mpm_prefork_module> | ||||
StartServers {{ mpm_param['start_servers'] | d('5') }} | StartServers {{ mpm_param['start_servers'] | d('5') }} | ||||
MaxRequestWorkers {{ mpm_param['max_request_workers'] | d('150') }} | MaxRequestWorkers {{ mpm_param['max_request_workers'] | d('150') }} | ||||
{%- if mpm_param['max_request_workers'] | d('150') >= 256 %} | |||||
{%- if mpm_param['max_request_workers'] | d('150') | int >= 256 %} | |||||
ServerLimit {{ mpm_param['max_request_workers'] | d('150') }} | ServerLimit {{ mpm_param['max_request_workers'] | d('150') }} | ||||
{%- endif %} | {%- endif %} | ||||
MinSpareServers {{ mpm_param['min_spare_servers'] | d('5') }} | MinSpareServers {{ mpm_param['min_spare_servers'] | d('5') }} |