Fix studio queue stuck after GPU sleep: clear ghost live ownership so Start now and wake can actually dispatch.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-04 23:15:19 -05:00
co-authored by Cursor
parent 2435167a41
commit 34c39bf85d
3 changed files with 157 additions and 49 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
import { requestComfyWake } from '~/server/utils/comfyLifecycle'
import { kickStudioQueue } from '~/server/utils/studioQueue'
export default defineEventHandler(async () => {
return await requestComfyWake()
const result = await requestComfyWake()
// After sleep/crash the queue often sits waiting with cutIn and never fires on its own.
void kickStudioQueue()
return result
})