nextcloud/apps
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
..
accessibility [tx-robot] updated from transifex 2021-12-19 02:29:19 +00:00
admin_audit [tx-robot] updated from transifex 2021-11-17 02:45:31 +00:00
cloud_federation_api [tx-robot] updated from transifex 2021-11-12 02:22:55 +00:00
comments Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
contactsinteraction [tx-robot] updated from transifex 2021-11-23 02:25:56 +00:00
dashboard Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
dav Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
encryption [tx-robot] updated from transifex 2021-12-17 02:28:52 +00:00
federatedfilesharing Limit more contact searches 2021-12-08 18:58:54 +01:00
federation Master is now 24 2021-11-11 10:11:09 +01:00
files Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
files_external [tx-robot] updated from transifex 2021-12-18 02:27:28 +00:00
files_sharing Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
files_trashbin Fix tests on PHP 8.1 for encryption, files_sharing, files_version, 2021-12-16 09:43:29 +01:00
files_versions Fix tests on PHP 8.1 for encryption, files_sharing, files_version, 2021-12-16 09:43:29 +01:00
lookup_server_connector [tx-robot] updated from transifex 2021-11-14 02:25:33 +00:00
oauth2 Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
provisioning_api [tx-robot] updated from transifex 2021-12-08 02:28:44 +00:00
settings Enhance and complement OPcache setup checks 2021-12-19 23:38:21 +01:00
sharebymail Limit more contact searches 2021-12-08 18:58:54 +01:00
systemtags Merge pull request #30024 from nextcloud/techdebt/noid/list-php-are-only-invokable-via-controllers 2021-12-02 22:29:12 +01:00
testing Master is now 24 2021-11-11 10:11:09 +01:00
theming Fix tests on PHP 8.1 for encryption, files_sharing, files_version, 2021-12-16 09:43:29 +01:00
twofactor_backupcodes Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
updatenotification Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
user_ldap Fix LDAP related docblocks types 2021-12-16 09:43:31 +01:00
user_status Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
weather_status Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
workflowengine Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00