Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged book code is creating long-running queries #3379

Open
mouse-reeve opened this issue Jun 9, 2024 · 1 comment
Open

Merged book code is creating long-running queries #3379

mouse-reeve opened this issue Jun 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mouse-reeve
Copy link
Member

Describe the bug
I'm looking at queries that are taking too long on b.s, and I hit https://github.com/bookwyrm-social/bookwyrm/pull/3299/files#diff-d0c61e914db77e19e340b5cf217a89c2032d6288d40deb444d0923a17f52f8d0R51

Just to keep us out of OOM errors, I removed the Q(absorbed__deleted_id=book_id) filter and have had much better results. I wouldn't have expected that to much such a big difference! But here we are.

@mouse-reeve mouse-reeve added the bug Something isn't working label Jun 9, 2024
@mouse-reeve
Copy link
Member Author

(cc @Minnozz, but no pressure to take this on)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
1 participant