Skip to content

perf(preview): bulk process preview regeneration#58229

Open
miaulalala wants to merge 1 commit intomasterfrom
fix/noid/improve-preview-scan-performance
Open

perf(preview): bulk process preview regeneration#58229
miaulalala wants to merge 1 commit intomasterfrom
fix/noid/improve-preview-scan-performance

Conversation

@miaulalala
Copy link
Contributor

@miaulalala miaulalala commented Feb 10, 2026

and wrap the queries in transactions

Follow up to nextcloud/previewgenerator#638

The update of previews was doing one query per file. With this PR, the queries are bulk processed and reduce the query numbers considerably.

  • Resolves: #

Summary

TODO

  • ...

Checklist

@miaulalala miaulalala force-pushed the fix/noid/improve-preview-scan-performance branch from a80f4a6 to 109a11e Compare March 2, 2026 17:28
@miaulalala miaulalala added feature: previews and thumbnails performance 🚀 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Mar 2, 2026
@miaulalala miaulalala added this to the Nextcloud 34 milestone Mar 2, 2026
@miaulalala miaulalala self-assigned this Mar 2, 2026
@miaulalala miaulalala changed the title fix(preview): bulk process preview regeneration perf(preview): bulk process preview regeneration Mar 2, 2026
@miaulalala miaulalala marked this pull request as ready for review March 2, 2026 20:53
@miaulalala miaulalala requested a review from a team as a code owner March 2, 2026 20:53
@miaulalala miaulalala requested a review from provokateurin March 2, 2026 23:28
@miaulalala miaulalala force-pushed the fix/noid/improve-preview-scan-performance branch from 50e206d to 56a8332 Compare March 3, 2026 19:49
This is a WIP

[skip ci]

Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the fix/noid/improve-preview-scan-performance branch from 56a8332 to fa1e2e9 Compare March 3, 2026 20:26
@miaulalala miaulalala requested a review from provokateurin March 3, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: previews and thumbnails performance 🚀 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants