summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorFrederik Kammer <frederik.kammer@osnaware.de>2016-03-22 16:49:14 +0100
committerVincent Petry <pvince81@owncloud.com>2016-05-24 14:55:26 +0200
commit299520b32249881a2e459f9812c55dfc79f6d746 (patch)
tree5a72acec4bff7ed7a564b54c1ce76a1e84fb50af /config
parentf7d102ccc59c8290d7e1caedb9862764bd831eaf (diff)
downloadnextcloud-server-299520b32249881a2e459f9812c55dfc79f6d746.tar.gz
nextcloud-server-299520b32249881a2e459f9812c55dfc79f6d746.zip
Add config value for cache gc ttl
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 2a368965fba..6ea7ea6fc1a 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -970,6 +970,14 @@ $CONFIG = array(
'cache_path' => '',
/**
+ * TTL of files 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_folder_gc_ttl' => 86400, // 60*60*24 = 1 day
+
+/**
* Using Object Store with ownCloud
*/