perf(preview): bulk process preview regeneration#58229
Open
miaulalala wants to merge 1 commit intomasterfrom
Open
perf(preview): bulk process preview regeneration#58229miaulalala wants to merge 1 commit intomasterfrom
miaulalala wants to merge 1 commit intomasterfrom
Conversation
a80f4a6 to
109a11e
Compare
CarlSchwan
approved these changes
Mar 2, 2026
provokateurin
requested changes
Mar 3, 2026
50e206d to
56a8332
Compare
This is a WIP [skip ci] Signed-off-by: Anna Larch <anna@nextcloud.com>
56a8332 to
fa1e2e9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Summary
TODO
Checklist
3. to review, feature component)stable32)