diff options
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 |