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

Reduce number of per-species capture count queries #108

Closed
nmcharlton opened this issue Jun 6, 2021 · 0 comments · Fixed by #115
Closed

Reduce number of per-species capture count queries #108

nmcharlton opened this issue Jun 6, 2021 · 0 comments · Fixed by #115
Assignees
Labels
priority High priority issue size: small Simple change tool: Species Relates to the Species management tool type: bug Something isn't working

Comments

@nmcharlton
Copy link
Collaborator

Querying the number of captures tagged with each species for the Species tool takes a long time in production (see Greenstand/treetracker-admin-api#573).

Currently, this query is triggered each time the user switches to either the Verify or Species tool.
These counts are not visible in the Verify tool and the queries often block the more important capture queries, making the tool feel unresponsive.

Screen.Recording.2021-06-06.at.22.16.34.mov
@nmcharlton nmcharlton added type: bug Something isn't working priority High priority issue tool: Species Relates to the Species management tool size: small Simple change labels Jun 6, 2021
@nmcharlton nmcharlton self-assigned this Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority High priority issue size: small Simple change tool: Species Relates to the Species management tool type: bug Something isn't working
Projects
None yet
1 participant