Open psychedelicious opened 1 year ago
I would like to work on this issue.
@iconichal that's awesome! Let us know if there's anything you have questions on - happy to help support however we can
@iconichal I did fix a few of these - but very happy for you to update any others!
Is there an existing issue for this?
OS
Linux
GPU
cuda
VRAM
No response
What version did you experience this issue on?
main
What happened?
We are manually kicking off RTK Query queries in a number of places, like
invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/socketio/socketConnected.ts
:This creates a subscription for that data - and we aren't cleaning up after ourselves. What we need to do is this:
This only needs to happen for queries, not mutations.
If we relied on cache subscriptions expiring, this would cause issues. We don't now, so this is mainly just sloppy and inefficient, rather than major issue.
Screenshots
No response
Additional context
No response
Contact Details
No response