Skip to content

AO3-7350 Fix N+1 queries on readings index#5650

Open
Bilka2 wants to merge 2 commits intootwcode:masterfrom
Bilka2:AO3-7350-readings-index-n-plus-1
Open

AO3-7350 Fix N+1 queries on readings index#5650
Bilka2 wants to merge 2 commits intootwcode:masterfrom
Bilka2:AO3-7350-readings-index-n-plus-1

Conversation

@Bilka2
Copy link
Contributor

@Bilka2 Bilka2 commented Mar 20, 2026

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-7350

Purpose

Fixes the N+1 queries on the readings index for the case where the work blurbs are cached. If the work blurbs are uncached there are more queries, but we'll leave those be for now, similar to the works and bookmarks index.

Failing test pushed first to show it's testing the right thing.

Credit

Bilka

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