Unstick studio queue when Ready but waiting jobs will not start.
A failed held shot-batch no longer blocks waiting work, ghost Comfy pending no longer freezes Start now, and Start now force-starts when the GPU is idle. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+6
-1
@@ -852,7 +852,12 @@ async function cutIn(job: StudioJobRow) {
|
||||
busyId.value = job.id
|
||||
error.value = ''
|
||||
try {
|
||||
await $fetch(`/api/studio-queue/${job.id}/cut-in`, { method: 'POST' })
|
||||
const result = await $fetch<{ started?: boolean; deferred?: boolean }>(`/api/studio-queue/${job.id}/cut-in`, { method: 'POST' })
|
||||
forceClearNote.value = result.started
|
||||
? 'Starting now.'
|
||||
: (result.deferred
|
||||
? 'This job will run after the current shot.'
|
||||
: 'Queued to start when the GPU is free.')
|
||||
await loadQueues()
|
||||
} catch (err: any) {
|
||||
error.value = err?.data?.statusMessage || err?.statusMessage || err?.message || 'Could not move that job next'
|
||||
|
||||
Reference in New Issue
Block a user