Update data/helpers.d/php

Co-Authored-By: JimboJoe <jimmy@monin.net>
This commit is contained in:
Maniack Crudelis 2020-04-17 12:02:11 +02:00 committed by GitHub
parent df47040462
commit f90a238973
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -402,7 +402,7 @@ ynh_get_scalable_phpfpm () {
php_max_children=$max_proc php_max_children=$max_proc
fi fi
# Get an potential forced value for php_max_children # Get a potential forced value for php_max_children
local php_forced_max_children=$(ynh_app_setting_get --app=$app --key=php_forced_max_children) local php_forced_max_children=$(ynh_app_setting_get --app=$app --key=php_forced_max_children)
if [ -n "$php_forced_max_children" ]; then if [ -n "$php_forced_max_children" ]; then
php_max_children=$php_forced_max_children php_max_children=$php_forced_max_children