mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Allow to overwrite pm.max_children
This commit is contained in:
parent
f6377b388d
commit
df47040462
1 changed files with 6 additions and 0 deletions
|
@ -402,6 +402,12 @@ ynh_get_scalable_phpfpm () {
|
|||
php_max_children=$max_proc
|
||||
fi
|
||||
|
||||
# Get an potential forced value for php_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
|
||||
php_max_children=$php_forced_max_children
|
||||
fi
|
||||
|
||||
if [ "$php_pm" = "dynamic" ]
|
||||
then
|
||||
# Define pm.start_servers, pm.min_spare_servers and pm.max_spare_servers for a dynamic process manager
|
||||
|
|
Loading…
Add table
Reference in a new issue