mirror of
https://github.com/invoke-ai/InvokeAI
synced 2025-07-26 05:17:55 +00:00
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.