diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-03-24 16:07:43 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-07 09:24:13 +0300 |
commit | cdedda99e4b7f66f136d7db4788c2f033df2d442 (patch) | |
tree | 8a0650a3001c9a095c3bb104a206b697e8125eeb /config | |
parent | 9b930cd01d2a536cfa21ba08a3be737cdfe4e54b (diff) |
Make lock ttl configurable
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 9 |
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 |