aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-10-30 13:43:22 +0100
committerBowen Ding <6999708+dbw9580@users.noreply.github.com>2022-11-05 16:03:01 +0800
commitf9e9cd270dc1e6a7a6a7396b2f1af03512f81738 (patch)
tree9275419c3ac5910a5bfa2e742944789971762995 /apps/settings
parentc88aabd1252c00dad59f143853042fc05ebc8d40 (diff)
downloadnextcloud-server-f9e9cd270dc1e6a7a6a7396b2f1af03512f81738.tar.gz
nextcloud-server-f9e9cd270dc1e6a7a6a7396b2f1af03512f81738.zip
Limit-number-of-concurrent-preview-generations
Signed-off-by: Bowen Ding <dbw9580@live.com> Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/lib/Controller/CheckSetupController.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php
index dd401b045f0..96fa6c20fc3 100644
--- a/apps/settings/lib/Controller/CheckSetupController.php
+++ b/apps/settings/lib/Controller/CheckSetupController.php
@@ -717,6 +717,11 @@ Raw output
$recommendedPHPModules[] = 'intl';
}
+ if (!extension_loaded('sysvsem')) {
+ // used to limit the usage of resources by preview generator
+ $recommendedPHPModules[] = 'sysvsem';
+ }
+
if (!defined('PASSWORD_ARGON2I') && PHP_VERSION_ID >= 70400) {
// Installing php-sodium on >=php7.4 will provide PASSWORD_ARGON2I
// on previous version argon2 wasn't part of the "standard" extension