summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-03-24 14:07:43 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-07 08:24:13 +0200
commitcdedda99e4b7f66f136d7db4788c2f033df2d442 (patch)
tree8a0650a3001c9a095c3bb104a206b697e8125eeb /config
parent9b930cd01d2a536cfa21ba08a3be737cdfe4e54b (diff)
downloadnextcloud-server-cdedda99e4b7f66f136d7db4788c2f033df2d442.tar.gz
nextcloud-server-cdedda99e4b7f66f136d7db4788c2f033df2d442.zip
Make lock ttl configurable
Diffstat (limited to 'config')
-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 18ac59f6cc9..6005352e9d5 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1194,6 +1194,15 @@ $CONFIG = array(
'filelocking.enabled' => true,
/**
+ * Set the time-to-live for locks in secconds.
+ *
+ * Any lock older than this will be automatically cleaned up.
+ *
+ * If not set this defaults to either 1 hour or the php max_execution_time, whichever is higher.
+ */
+'filelocking.ttl' => 3600,
+
+/**
* Memory caching backend for file locking
*
* Because most memcache backends can clean values without warning using redis