File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1556,7 +1556,7 @@ sub feature_get_web_php_children
1556
1556
}
1557
1557
elsif ($mode eq " fpm" ) {
1558
1558
# Read from FPM config file
1559
- my $conf = &virtual_server::get_php_fpm_config();
1559
+ my $conf = &virtual_server::get_php_fpm_config($d );
1560
1560
return -1 if (!$conf );
1561
1561
my $childs = &virtual_server::get_php_fpm_pool_config_value(
1562
1562
$conf , $d -> {' id' }, " pm.max_children" );
@@ -1588,7 +1588,7 @@ sub feature_save_web_php_children
1588
1588
}
1589
1589
elsif ($mode eq " fpm" ) {
1590
1590
# Set in the FPM config
1591
- my $conf = &virtual_server::get_php_fpm_config();
1591
+ my $conf = &virtual_server::get_php_fpm_config($d );
1592
1592
return 0 if (!$conf );
1593
1593
$children = $childrenmax if ($children == 0); # Recommended default
1594
1594
my $fpmstartservers =
You can’t perform that action at this time.
0 commit comments