nextcloud/apps/settings
MichaIng 82c1beaacb Enhance and complement OPcache setup checks
The current OPcache recommendations match the PHP defaults, but the values are much higher than required to run Nextcloud, even with a high number of installed apps. On the other hand, when other applications use the same OPcache instance, the recommended values might not be sufficient. Accurate recommendations need to take into account actual OPcache usage.

With this commit, recommendations are shown to raise the config value if more than 90% of max cache size or number of keys is used.

The checks whether the module is loaded and whether the OPcache is properly configured have been merged into a single function. This allowed to reduce the overhead of OPcache configuration checks when the module is not loaded.

A check has been added whether Nextcloud is permitted to use the OPcache API. Without this, inconsistencies during core or app upgrades may cause errors and OPcache usage cannot be determined for the new usage based checks.

OPcache usage based checks are skipped when Nextcloud is not permitted to use the API.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-19 23:38:21 +01:00
..
appinfo Master is now 24 2021-11-11 10:11:09 +01:00
composer Update to composer 2.1.11 2021-11-04 12:30:11 +01:00
css Remove no longer needed CSS rules 2021-12-07 18:02:19 +01:00
data Fix duplicate sentence in 'Reasons to use Nextcloud.pdf' 2020-09-15 11:12:23 +02:00
img Move settings to an app 2019-09-28 09:39:28 +00:00
js Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
l10n [tx-robot] updated from transifex 2021-12-14 02:27:57 +00:00
lib Enhance and complement OPcache setup checks 2021-12-19 23:38:21 +01:00
src Fix input for groups validation in new user form 2021-12-07 18:02:17 +01:00
templates Fix doc link in sharing settings 2021-11-19 14:58:44 +01:00
tests Enhance and complement OPcache setup checks 2021-12-19 23:38:21 +01:00
.editorconfig Move settings to an app 2019-09-28 09:39:28 +00:00
.gitignore Move settings to an app 2019-09-28 09:39:28 +00:00
.l10nignore Update .l10nignore for apps to exclude bundled JS files 2020-09-15 12:28:43 +02:00
webpack.js Add admin privilege delegation for admin settings 2021-09-29 21:43:31 +02:00