Skip to content

[stable35] fix(files_reminders): keep folder preload for folders over 512 entries - #65476

Open
backportbot[bot] wants to merge 1 commit into
stable35from
backport/64706/stable35
Open

backportbot[bot] wants to merge 1 commit into
stable35from
backport/64706/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 13, 2026

Copy link
Copy Markdown

Backport of PR #64706

ReminderService::cacheFolder() stored one entry per child in the in-memory
cache, which is capped at 512 entries. Listing a folder with 512 or more
children evicted entries before the DAV plugin read them, so each evicted
file fell back to its own query.

Keep the folder preload in a separate per-request map and drop the entry
whenever a reminder is written, so later changes in the same request win.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants