chia-blockchain-gui
chia-blockchain-gui copied to clipboard
Fix refetching plots after new plot is finished plotting
fixes: https://github.com/Chia-Network/chia-blockchain-gui/issues/1728
What other solutions were considered:
-
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...
-
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 can we move it to useGetThrottlePlotQueueQuery?
@seeden Indeed, its a better place for it. I provided and updated version. Thank you
Please do not merge as still trying for a better solution...
'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.'