Skip to content
Snippets Groups Projects
Unverified Commit 51b0036d authored by Vincent Petry's avatar Vincent Petry
Browse files

Changed labels of chunk TTL to mention chunks

parent c9b26d06
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment