summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-05-21 16:11:10 +0200
committerRobin Appelman <icewind@owncloud.com>2015-06-01 13:22:56 +0200
commit2f4f468399d316157979f747d2418fb5cff8d3e0 (patch)
treea29a1e0b6d5438c4e2c178f24ea0788fdbcc8829 /config
parentc72ea9f7d72d3ab22ff56195235808b17cecb0ba (diff)
downloadnextcloud-server-2f4f468399d316157979f747d2418fb5cff8d3e0.tar.gz
nextcloud-server-2f4f468399d316157979f747d2418fb5cff8d3e0.zip
Added config switch for file locking
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index ed86dd94131..a9fafe7b4f1 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1026,6 +1026,19 @@ $CONFIG = array(
*/
'max_filesize_animated_gifs_public_sharing' => 10,
+
+/**
+ * Enables the EXPERIMENTAL file locking.
+ * This is disabled by default as it is experimental.
+ *
+ * Prevents concurrent processes to access the same files
+ * at the same time. Can help prevent side effects that would
+ * be caused by concurrent operations.
+ *
+ * WARNING: EXPERIMENTAL
+ */
+'filelocking.enabled' => false,
+
/**
* This entry is just here to show a warning in case somebody copied the sample
* configuration. DO NOT ADD THIS SWITCH TO YOUR CONFIGURATION!