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

Fix refetching plots after new plot is finished plotting #1761

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zsolt-dev
Copy link
Contributor

fixes: #1728

What other solutions were considered:

  1. Have the logic of clearing cache directly in the api-react
    -> spend hours on it, could not make it work. Queries should not clear caches, mutations should...

  2. Have the logic of clearing cache in useGetThrottlePlotQueueQuery
    -> might be a better place, but this is obvious for the developer that some cache cleaning is happening. I can move it to useGetThrottlePlotQueueQuery if someone thinks its a better place.

Thank you

@zsolt-dev zsolt-dev requested review from seeden and paninaro May 10, 2023 15:30
@seeden
Copy link
Contributor

seeden commented May 10, 2023

@zsolt-dev can we move it to useGetThrottlePlotQueueQuery?

@zsolt-dev
Copy link
Contributor Author

@seeden Indeed, its a better place for it. I provided and updated version. Thank you

@zsolt-dev
Copy link
Contributor Author

Please do not merge as still trying for a better solution...

@github-actions
Copy link
Contributor

'This PR has been flagged as stale due to no activity for over 60
days. It will not be automatically closed, but it has been given
a stale-pr label and should be manually reviewed.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] New Plot not displayed after it finishes plotting
2 participants