mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
d3cdcef36b
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. |
||
---|---|---|
.. | ||
cli | ||
install | ||
web | ||
__init__.py |