Skip to content

LIMS-2511: Speed up dewar registry page - #1104

Open
ndg63276 wants to merge 1 commit into
masterfrom
fix/LIMS-2511/dewar-registry-page-slow
Open

ndg63276 wants to merge 1 commit into
masterfrom
fix/LIMS-2511/dewar-registry-page-slow

Conversation

@ndg63276

Copy link
Copy Markdown
Collaborator

JIRA ticket: LIMS-2511

Summary:

The dewar registry page is very slow to load, as it joins to dewar on the facilityCode column. Since LIMS-1714 and LIMS-1972, we can now join on dewarRegistryId, which is much faster.

Changes:

  • Join to the Dewar table on dewarRegistryId
  • Remove redundant join to Shipping table

To test:

  • Go to /dewars/registry, check the page loads fast
  • Check there are the same number of pages as the version on prod
  • Check searching for a dewar still works
  • Click on a dewar, check the page still loads all the info

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants