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
-2
@@ -5392,8 +5392,12 @@ async function refreshStudioQueue() {
|
||||
|
||||
async function cutInStudioJob(id: string) {
|
||||
try {
|
||||
await $fetch(`/api/studio-queue/${id}/cut-in`, { method: 'POST' })
|
||||
toast('This job will run after the current shot, as its own clip.')
|
||||
const result = await $fetch<{ started?: boolean; deferred?: boolean }>(`/api/studio-queue/${id}/cut-in`, { method: 'POST' })
|
||||
toast(result.started
|
||||
? 'Starting now.'
|
||||
: (result.deferred
|
||||
? 'This job will run after the current shot, as its own clip.'
|
||||
: 'Queued to start as soon as the GPU is free.'))
|
||||
await refreshStudioQueue()
|
||||
} catch (error: any) {
|
||||
toast(error?.data?.statusMessage || error?.statusMessage || 'Could not move that job next')
|
||||
|
||||
Reference in New Issue
Block a user