From fa1544c2949dbb5bb97d005a92a7fe71e1d852da Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sun, 1 Sep 2019 20:29:40 +0200 Subject: [PATCH] Fix typo (#927) Signed-off-by: Daniel Kesselberg --- lib.sh | 2 +- nextcloud_install_production.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.sh b/lib.sh index 2525ca4b..819ddd8f 100644 --- a/lib.sh +++ b/lib.sh @@ -290,7 +290,7 @@ then fi } -caulculate_php_fpm() { +calculate_php_fpm() { # Minimum amount of max children (lower than this won't work with 2 GB RAM) min_max_children=8 # If start servers are lower than this then it's likely that there are room for max_spare_servers diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index b7d95462..317d30a6 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -303,7 +303,7 @@ listen = /run/php/php"$PHPVER"-fpm.nextcloud.sock listen.owner = www-data listen.group = www-data pm = dynamic -; max_children is set dynamically with caulculate_php_fpm() +; max_children is set dynamically with calculate_php_fpm() pm.max_children = 8 pm.start_servers = 3 pm.min_spare_servers = 2