Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-06 21:10:25 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-08-06 23:31:39 +0300
commit45428e49482b8c1916859fbe80564670fa51f8ff (patch)
tree4f30448487a473296866b83051a66de262571077 /config
parent4fdd38c7378415c552859dc4c0d2dda709f699ec (diff)
Add config option to enable multibucket preview distribution
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index e95f2535af8..862c5ec1a1d 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1354,6 +1354,23 @@ $CONFIG = [
],
],
+/**
+ * If this is set to true and a multibucket object store is configured then
+ * newly created previews are put into 256 dedicated buckets.
+ *
+ * Those buckets are named like the mulibucket version but with the postfix
+ * ``-preview-NUMBER`` where NUMBER is between 0 and 255.
+ *
+ * Keep in mind that only previews of files are put in there that don't have
+ * some already. Otherwise the old bucket will be used.
+ *
+ * To migrate existing previews to this new multibucket distribution of previews
+ * use the occ command ``preview:repair``. For now this will only migrate
+ * previews that were generated before Nextcloud 19 in the flat
+ * ``appdata_INSTANCEID/previews/FILEID`` folder structure.
+ */
+'objectstore.multibucket.preview-distribution' => false,
+
/**
* Sharing