Propagate change in RAM helper to php helper where it's used

This commit is contained in:
Alexandre Aubin 2020-04-06 00:20:16 +02:00
parent cbf573c346
commit fdc0ecf6e5

View file

@ -309,7 +309,7 @@ ynh_get_scalable_phpfpm () {
fi
# Get the total of RAM available, except swap.
local max_ram=$(ynh_check_ram --no_swap)
local max_ram=$(ynh_get_ram --total --ignore_swap)
at_least_one() {
# Do not allow value below 1