mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
2acc93eb8e
This caused a crapload of network requests any time an image was generated. The counts are necessary to handle the logic for inserting images into existing image list caches; we have to keep track of the counts. Replace tag invalidation with manual cache updates in all cases, except the initial request (which is necessary to get the initial image counts). One subtle change is to make the counts an object instead of a number. This is required for `immer` to handle draft states. This should be raised as a bug with RTK Query, as no error is thrown when attempting to update a primitive immer draft. |
||
---|---|---|
.. | ||
CLI | ||
install | ||
merge | ||
training | ||
web | ||
__init__.py | ||
legacy_launch_invokeai.py |