diff options
author | nachoparker <nacho@ownyourbits.com> | 2020-08-31 02:57:22 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2020-08-31 02:57:27 +0300 |
commit | 21a791db986a864d6e34d9471fbceac466c36f03 (patch) | |
tree | 3ab275d7d6db002f7d7ef4d70c001c9bbd10f37f | |
parent | c143accdfcffa15a3a93773a6da77660a015375b (diff) |
nc-limits: minimum 6 PHP threads (for NC talk)v1.29.8
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r-- | bin/ncp/CONFIG/nc-limits.sh | 4 | ||||
-rw-r--r-- | changelog.md | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/ncp/CONFIG/nc-limits.sh b/bin/ncp/CONFIG/nc-limits.sh index 472c4168..1597bb79 100644 --- a/bin/ncp/CONFIG/nc-limits.sh +++ b/bin/ncp/CONFIG/nc-limits.sh @@ -32,8 +32,8 @@ configure() # MAX PHP THREADS local CONF=/etc/php/${PHPVER}/fpm/pool.d/www.conf local CURRENT_THREADS=$( grep "^pm.max_children" "$CONF" | awk '{ print $3 }' ) - [[ $PHPTHREADS -eq 0 ]] && PHPTHREADS=$( nproc ) - [[ $PHPTHREADS -lt 3 ]] && PHPTHREADS=3 + [[ $PHPTHREADS -eq 0 ]] && PHPTHREADS=$(nproc) + [[ $PHPTHREADS -lt 6 ]] && PHPTHREADS=6 echo "Using $PHPTHREADS PHP threads" sed -i "s|^pm =.*|pm = static|" "$CONF" sed -i "s|^pm.max_children =.*|pm.max_children = $PHPTHREADS|" "$CONF" diff --git a/changelog.md b/changelog.md index 3dc9390e..80114c41 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,7 @@ -[v1.29.7](https://github.com/nextcloud/nextcloudpi/commit/d98e7ad) (2020-07-24) do not hsts preload by default, only serve hsts header over https +[v1.29.8](https://github.com/nextcloud/nextcloudpi/commit/90ca096) (2020-08-30) nc-limits: minimum 6 PHP threads (for NC talk) -[v1.29.6](https://github.com/nextcloud/nextcloudpi/commit/14b78e3) (2020-08-29) ncp-web: Fix the style of the language selection dropdown (chrome) +[v1.29.6 ](https://github.com/nextcloud/nextcloudpi/commit/14b78e3) (2020-08-29) ncp-web: Fix the style of the language selection dropdown (chrome) [v1.29.5 ](https://github.com/nextcloud/nextcloudpi/commit/34e84ba) (2020-08-30) ncp-web: fix initial screen displaying all sections @@ -9,7 +9,7 @@ [v1.29.3 ](https://github.com/nextcloud/nextcloudpi/commit/76ffaec) (2020-08-26) nc-static-IP: Restricting gateway to one -[v1.29.0](https://github.com/nextcloud/nextcloudpi/commit/3cf269a) (2020-08-28) upgrade to NC19.0.2 +[v1.29.0 ](https://github.com/nextcloud/nextcloudpi/commit/3cf269a) (2020-08-28) upgrade to NC19.0.2 [v1.28.4 ](https://github.com/nextcloud/nextcloudpi/commit/4c5b207) (2020-08-02) ncp-backup-auto: fix exit status for cron |