summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-24 15:18:56 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-24 15:18:56 +0200
commit51b0036d8f714e3693be744784f65c34dee64afa (patch)
treefd2a9754e210d396ccfdcc80affc65c571ceebbc
parentc9b26d065b567fa3a62a5ecfcfebb8fb275e9f1c (diff)
downloadnextcloud-server-51b0036d8f714e3693be744784f65c34dee64afa.tar.gz
nextcloud-server-51b0036d8f714e3693be744784f65c34dee64afa.zip
Changed labels of chunk TTL to mention chunks
-rw-r--r--config/config.sample.php4
-rw-r--r--lib/private/legacy/filechunking.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 6ea7ea6fc1a..1432ead7aa9 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 f58497a3c98..9b8a5a6f766 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() {