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

Resource.get_related_resources should cache preflabel lookups for relationshiptype #11583

Closed
whatisgalen opened this issue Oct 28, 2024 · 0 comments · Fixed by #11584
Closed
Assignees

Comments

@whatisgalen
Copy link
Member

whatisgalen commented Oct 28, 2024

there's an ES query to the concept index once for each relationship preflabel lookup even if it's already been looked up. For a few hundred related resources, this can look like 30seconds to load a report

@chiatt chiatt added this to pipeline Oct 28, 2024
@whatisgalen whatisgalen self-assigned this Oct 28, 2024
whatisgalen added a commit that referenced this issue Nov 14, 2024
whatisgalen added a commit that referenced this issue Nov 14, 2024
chiatt pushed a commit that referenced this issue Nov 15, 2024
…up (#11584)

* cache already looked up relationship preflabels in Resource.get_related_resources, re #11583
* add release note, re #11583
@chiatt chiatt closed this as completed Nov 15, 2024
@github-project-automation github-project-automation bot moved this to ✅ Done in pipeline Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants