InvokeAI/invokeai/frontend
psychedelicious d3cdcef36b fix(ui): race condition queue status
Sequence of events causing the race condition:
- Enqueue batch
- Invalidate `SessionQueueStatus` tag
- Request updated queue status via HTTP - batch still processing at this point
- Batch completes
- Event emitted saying so
- Optimistically update the queue status cache, it is correct
- HTTP request makes it back and overwrites the optimistic update, indicating the batch is still in progress

FIxed by not invalidating the cache.
2024-08-30 22:18:50 +10:00
..
cli feat(config): add CLI arg to specify config file 2024-03-20 15:05:25 +11:00
install feat(installer): remove updater 2024-03-26 14:48:29 +11:00
web fix(ui): race condition queue status 2024-08-30 22:18:50 +10:00
__init__.py Run python black 2023-07-28 09:46:44 -04:00