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

Unnecessary call to backend endpoint when no simulation is loaded #1928

Open
grzanka opened this issue Jan 2, 2025 · 0 comments
Open

Unnecessary call to backend endpoint when no simulation is loaded #1928

grzanka opened this issue Jan 2, 2025 · 0 comments

Comments

@grzanka
Copy link
Contributor

grzanka commented Jan 2, 2025

I've cleaned the cache in the browser and logged to yaptide.c3.plgrid.pl
Then I've selected "Simulation" tab, but haven't choosen any particular simulation to display results or to load to the editor.
I've noticed that the Results tab was inactive - as expected.

This is how I interacted with the app:

Login.Mozilla.Firefox.2025-01-02.18-53-02.-.Trim.mp4

I've noticed several calls to the backend which in my opinion are not needed.
It looks like the backend tried to fetch results from the first simulation even if it was not selected.

There were 3 subsequent calls to
https://yaptide.c3.plgrid.pl:8443/estimators?job_id=20250102-154820-e18efcc2-5658-416e-afdf-3034791286b2DIRECT

image

Then one call to https://yaptide.c3.plgrid.pl:8443/results?job_id=20250102-154820-e18efcc2-5658-416e-afdf-3034791286b2DIRECT&estimator_name=XYIsoc&page_numbers=0

image

Also one request to:
https://yaptide.c3.plgrid.pl:8443/inputs?job_id=20250102-154820-e18efcc2-5658-416e-afdf-3034791286b2DIRECT

image

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