Skip to content

fix(gc): (re)implement cache_chunk_gc_ttl - #57504

Merged
provokateurin merged 1 commit into
masterfrom
implementCacheChunkGcTtl
Jan 15, 2026
Merged

fix(gc): (re)implement cache_chunk_gc_ttl#57504
provokateurin merged 1 commit into
masterfrom
implementCacheChunkGcTtl

Conversation

@solracsf

@solracsfsolracsf commented Jan 12, 2026

Copy link
Copy Markdown
Member

Summary

Maybe I've read the code wrongly, so correct me if I'm wrong, but this configurable value was never implemented? 🤔

/**
* 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 Nextcloud Client as upload isn't
* completed within one day.
*
* Defaults to ``60*60*24`` (1 day)
*/
'cache_chunk_gc_ttl' => 60 * 60 * 24,

Checklist

@solracsfsolracsf added this to the Nextcloud 33 milestone Jan 12, 2026
@solracsf
solracsf requested a review from a team as a code ownerJanuary 12, 2026 23:02
@solracsf
solracsf requested review from a team, ArtificialOwl, blizzz, come-nc, icewind1991, nfebe, provokateurin and sorbaugh and removed request for a teamJanuary 12, 2026 23:02
Comment threadlib/private/Cache/File.php
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf
solracsfforce-pushed the implementCacheChunkGcTtl branch from 3b6a0ee to df018cfCompareJanuary 13, 2026 08:00
@solracsfsolracsf changed the title fix(gc): Implement cache_chunk_gc_ttlfix(gc): (re)implement cache_chunk_gc_ttlJan 13, 2026
This was referenced Jan 12, 2026
@provokateurin
provokateurin merged commit 3c49827 into masterJan 15, 2026
225 of 230 checks passed
@provokateurin
provokateurin deleted the implementCacheChunkGcTtl branch January 15, 2026 14:39
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsfeature: files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@solracsf@provokateurin@come-nc