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

Comments: Make a proper count call instead of counting the results #2903

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

felipeelia
Copy link
Member

Description of the Change

As stated in #2897, the current count call is fetching all the comments, exhausting all memory available in some scenarios. This PR changes that query to be a proper count call.

Closes #2897

Changelog Entry

Changed - Total comment count made during sync process to be a proper count call.

Credits

Props @felipeelia @bsabalaskey

@felipeelia felipeelia merged commit 4c65448 into develop Jul 26, 2022
@felipeelia felipeelia deleted the fix/issue-2897-comment-count branch July 26, 2022 19:58
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.

QUESTION: how to index millions of comments?
2 participants