Skip to content

Optimize AddOnRuns to prevent timeouts. Follow up - #487

Merged
duckduckgrayduck merged 2 commits into
masterfrom
addonrun_optimize
Sep 22, 2026
Merged

duckduckgrayduck merged 2 commits into
masterfrom
addonrun_optimize

Conversation

@duckduckgrayduck

Copy link
Copy Markdown
Contributor

In my last PR I did correctly trace that CursorPagination defaults to pk ordering, but I failed to see that the AddOnRunViewSet overrides this ordering to do -created_at. I observed a timeout after the deploy of the last PR and this is why. The index should be based on the ordering that is actually used, which is the one defined in the viewset.

This changes the index to match the ordering in the viewset.

@duckduckgrayduck
duckduckgrayduck merged commit 4e43999 into master Sep 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants