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

PIN-4722: Refactor get purposes to avoid DocumentDB memory error #200

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

galales
Copy link
Contributor

@galales galales commented Mar 18, 2024

The query often causes memory limit errors on DocumentDB.
This PR make the query easier by

  • removing the lookup on another collection
  • adding 2 more queries that are easier (just find with filters)

@galales galales marked this pull request as ready for review March 18, 2024 16:15
@galales galales requested a review from beetlecrunch as a code owner March 18, 2024 16:15
@galales galales changed the title PIN-4722: Improve get purposes performances PIN-4722: Refactor get purposes to avoid DocumentDB memory error Mar 19, 2024
@galales galales merged commit b721852 into 1.0.x Mar 20, 2024
4 checks passed
@galales galales deleted the PIN-4722 branch March 20, 2024 11:05
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