Skip to content

Commit 228041e

Browse files
committed
Pass domain into get_php_fpm_config where we have it virtualmin/virtualmin-gpl#988
1 parent a4de729 commit 228041e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

virtual_feature.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@ sub feature_get_web_php_children
15561556
}
15571557
elsif ($mode eq "fpm") {
15581558
# Read from FPM config file
1559-
my $conf = &virtual_server::get_php_fpm_config();
1559+
my $conf = &virtual_server::get_php_fpm_config($d);
15601560
return -1 if (!$conf);
15611561
my $childs = &virtual_server::get_php_fpm_pool_config_value(
15621562
$conf, $d->{'id'}, "pm.max_children");
@@ -1588,7 +1588,7 @@ sub feature_save_web_php_children
15881588
}
15891589
elsif ($mode eq "fpm") {
15901590
# Set in the FPM config
1591-
my $conf = &virtual_server::get_php_fpm_config();
1591+
my $conf = &virtual_server::get_php_fpm_config($d);
15921592
return 0 if (!$conf);
15931593
$children = $childrenmax if ($children == 0); # Recommended default
15941594
my $fpmstartservers =

0 commit comments

Comments
 (0)