Browse Source

Changed labels of chunk TTL to mention chunks

tags/v9.1.0beta1
Vincent Petry 8 years ago
parent
commit
51b0036d8f
No account linked to committer's email address
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      config/config.sample.php
  2. 1
    1
      lib/private/legacy/filechunking.php

+ 2
- 2
config/config.sample.php View File

@@ -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

+ 1
- 1
lib/private/legacy/filechunking.php View File

@@ -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() {

Loading…
Cancel
Save