Add Force clear for stuck queues including running YuE jobs.
Queue page and Music get a nuclear clear that cancels studio/live work, wipes shot batches, and force-stops Comfy so images/video/other music can run again. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
type="button"
|
||||
class="block w-full rounded-xl px-3 py-2 text-left text-sm text-red-200 hover:bg-white/5 hover:text-red-100 disabled:cursor-not-allowed disabled:opacity-50"
|
||||
:disabled="gpuForceResetting || gpuSleeping || gpuWaking"
|
||||
title="Clear stuck jobs and kill Comfy even if a generation is wedged"
|
||||
title="Clear stuck Studio/music/shot jobs and kill Comfy even if a generation is wedged"
|
||||
role="menuitem"
|
||||
@click="forceResetGpu"
|
||||
>{{ gpuForceResetting ? 'Force resetting…' : 'Force reset' }}</button>
|
||||
@@ -275,7 +275,7 @@ async function sleepGpu() {
|
||||
async function forceResetGpu() {
|
||||
if (gpuForceResetting.value || gpuSleeping.value || gpuWaking.value) return
|
||||
const ok = window.confirm(
|
||||
'Force reset clears stuck Studio/queue jobs and kills Comfy even if a generation is wedged. Continue?'
|
||||
'Force reset cancels every running/waiting Studio and music job, wipes shot batches, and kills Comfy even if wedged. Continue?'
|
||||
)
|
||||
if (!ok) return
|
||||
menuOpen.value = false
|
||||
|
||||
@@ -735,7 +735,7 @@ async function wakeGpu() {
|
||||
async function forceResetGpu() {
|
||||
if (gpuForceResetting.value || gpuSleeping.value || gpuWaking.value) return
|
||||
const ok = window.confirm(
|
||||
'Force reset clears stuck Studio/queue jobs and kills Comfy even if a generation is wedged. Continue?'
|
||||
'Force reset cancels every running/waiting Studio and music job, wipes shot batches, and kills Comfy even if wedged. Continue?'
|
||||
)
|
||||
if (!ok) return
|
||||
gpuForceResetting.value = true
|
||||
|
||||
Reference in New Issue
Block a user