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

Improve "Available Simulations" endpoint #67

Open
jjnesbitt opened this issue Sep 23, 2024 · 0 comments
Open

Improve "Available Simulations" endpoint #67

jjnesbitt opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@jjnesbitt
Copy link
Member

For some reason, the endpoint used to retrieve available simulations per context is taking exceptionally long (around 20 seconds). This is at the endpoint:

http://localhost:8000/api/v1/simulations/available/context/{context_id}

It seems to make 75 SQL queries, which indicates to me that something unintentional is going on. This should be investigated and addressed.

@jjnesbitt jjnesbitt self-assigned this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant