diff --git a/config/config.sample.php b/config/config.sample.php index 6ea7ea6fc1a127970be6e85de24d3bac5ba4a137..1432ead7aa993d72a17e7eb151b424c92a280a03 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -970,12 +970,12 @@ $CONFIG = array( 'cache_path' => '', /** - * TTL of files located in the cache folder before they're removed by + * 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_folder_gc_ttl' => 86400, // 60*60*24 = 1 day +'cache_chunk_gc_ttl' => 86400, // 60*60*24 = 1 day /** * Using Object Store with ownCloud diff --git a/lib/private/legacy/filechunking.php b/lib/private/legacy/filechunking.php index f58497a3c98a8ab1585b69ff9e16426834217992..9b8a5a6f7661e59d462a4417822cdff925530fd4 100644 --- a/lib/private/legacy/filechunking.php +++ b/lib/private/legacy/filechunking.php @@ -48,7 +48,7 @@ class OC_FileChunking { */ public function __construct($info) { $this->info = $info; - $this->ttl = \OC::$server->getConfig()->getSystemValue('cache_folder_gc_ttl', 86400); + $this->ttl = \OC::$server->getConfig()->getSystemValue('cache_chunk_gc_ttl', 86400); } public function getPrefix() {