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:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user