8000 fix: fix group by thread query performance issues by rpcross · Pull Request #3926 · ietf-tools/mailarchive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: fix group by thread query performance issues #3926

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 8000 in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rpcross
Copy link
Collaborator
@rpcross rpcross commented May 13, 2025

No description provided.

@rpcross rpcross requested a review from jennifer-richards May 13, 2025 18:14
Copy link
Member
@jennifer-richards jennifer-richards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A question inline, otherwise looks good to me.

and hasattr(page.object_list, 'query')
and page.object_list.query.high_mark < self.results_per_page
):
page.object_list.query.high_mark = self.results_per_page
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will results_per_page always be greater than 12? Would it work to use max(self.results_per_page, 12) here, or will that break the pagination?

If it breaks the pagination, then we should probably put this fix in and plan to restrict the results_per_page to >= 12.

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
0