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

Bug: project/:id/results endpoint is slow #5109

Open
MichaelAkvo opened this issue Sep 13, 2022 · 0 comments
Open

Bug: project/:id/results endpoint is slow #5109

MichaelAkvo opened this issue Sep 13, 2022 · 0 comments

Comments

@MichaelAkvo
Copy link
Contributor

What were you doing?

When using the new code using project hierarchies, the endpoint became slower.
Open the overview of a program with a lot of projects e.g https://rsr.akvo.org/my-rsr/programs/7350

Waited for a long time for it to load.

What should've happened?

It should've been faster than before, but instead it's slower.

My environment

No response

Additional context

The old code was optimized for its old data model. Now it has to be updated for the new hierarchies.

The relevant endpoint is /rest/v1/project/:id/results/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: On Hold
Development

No branches or pull requests

1 participant