aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.sample.php
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-01-15 14:41:36 +0100
committerRichard Steinmetz <richard@steinmetz.cloud>2024-08-05 08:48:15 +0200
commit2ea6713504aa49d1a8cb9a7efaad8706484986c1 (patch)
tree4e1bb94316d459010f8366ea4f5eee72e72dde7e /config/config.sample.php
parentc283683a08a6aefb60997e961d1365c61e4d0100 (diff)
downloadnextcloud-server-2ea6713504aa49d1a8cb9a7efaad8706484986c1.tar.gz
nextcloud-server-2ea6713504aa49d1a8cb9a7efaad8706484986c1.zip
fix: Max file size for metadata generation
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Co-Authored-By: Louis <louis@chmn.me> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 8b3c9feae45..f2d06d9acea 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1374,6 +1374,15 @@ $CONFIG = [
],
/**
+ * Maximum file size for metadata generation.
+ * If a file exceeds this size, metadata generation will be skipped.
+ * Note: memory equivalent to this size will be used for metadata generation.
+ *
+ * Default: 256 megabytes.
+ */
+'metadata_max_filesize' => 256,
+
+/**
* LDAP
*
* Global settings used by LDAP User and Group Backend