summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-25 11:07:31 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-25 11:07:31 +0200
commitb5f455f5ac31ea3a35b8adc70ae82d8e4d31920f (patch)
tree44f86a11a989b594dfcd164b6071ecedd2ff7ed4 /config
parent25f31107301b3ed08cbd9ade2a4bf37e88e54044 (diff)
parent51b0036d8f714e3693be744784f65c34dee64afa (diff)
downloadnextcloud-server-b5f455f5ac31ea3a35b8adc70ae82d8e4d31920f.tar.gz
nextcloud-server-b5f455f5ac31ea3a35b8adc70ae82d8e4d31920f.zip
Merge pull request #24812 from owncloud/fkammer-enhancement-cache-folder-gc-ttl
Make chunk cache ttl configurable
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index ffdce5cc2d5..c5f2f14e031 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -977,6 +977,14 @@ $CONFIG = array(
'cache_path' => '',
/**
+ * TTL of chunks located in the cache folder before they're removed by
+ * garbage collection (in seconds). Increase this value if users have
+ * issues uploading very large files via the ownCloud Client as upload isn't
+ * completed within one day.
+ */
+'cache_chunk_gc_ttl' => 86400, // 60*60*24 = 1 day
+
+/**
* Using Object Store with ownCloud
*/