Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
51b0036d
Unverified
Commit
51b0036d
authored
8 years ago
by
Vincent Petry
Browse files
Options
Downloads
Patches
Plain Diff
Changed labels of chunk TTL to mention chunks
parent
c9b26d06
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/config.sample.php
+2
-2
2 additions, 2 deletions
config/config.sample.php
lib/private/legacy/filechunking.php
+1
-1
1 addition, 1 deletion
lib/private/legacy/filechunking.php
with
3 additions
and
3 deletions
config/config.sample.php
+
2
−
2
View file @
51b0036d
...
...
@@ -970,12 +970,12 @@ $CONFIG = array(
'cache_path'
=>
''
,
/**
* TTL of
file
s located in the cache folder before they're removed by
* TTL of
chunk
s 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
...
...
This diff is collapsed.
Click to expand it.
lib/private/legacy/filechunking.php
+
1
−
1
View file @
51b0036d
...
...
@@ -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
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment