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

Optimize db queries #32

Open
gigatesseract opened this issue Oct 3, 2020 · 0 comments · May be fixed by #36
Open

Optimize db queries #32

gigatesseract opened this issue Oct 3, 2020 · 0 comments · May be fixed by #36
Labels
backend Fixes apply to the backend branch database

Comments

@gigatesseract
Copy link
Member

  • Go through the admin.js and student.js files in routers/
  • A lot of database queries happen to retrieve data, especially to determine which certificates are pending.

Try to use joins and limit the number of database queries.

@gigatesseract gigatesseract added backend Fixes apply to the backend branch database labels Oct 3, 2020
@gigatesseract gigatesseract changed the title Optimize db queries. Optimize db queries Oct 3, 2020
@hetvi955 hetvi955 linked a pull request Oct 14, 2020 that will close this issue
@hetvi955 hetvi955 removed their assignment May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Fixes apply to the backend branch database
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants