Keep sidecar health polling while a video job is running.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -2423,7 +2423,7 @@ onMounted(async () => {
|
|||||||
setTimeout(() => { void loadLibrary(true).catch(() => null) }, 6000)
|
setTimeout(() => { void loadLibrary(true).catch(() => null) }, 6000)
|
||||||
healthTimer = setInterval(() => {
|
healthTimer = setInterval(() => {
|
||||||
if (typeof document !== 'undefined' && document.hidden) return
|
if (typeof document !== 'undefined' && document.hidden) return
|
||||||
if (!videoBusy.value && !editBusy.value) void pollComfyHealth()
|
void pollComfyHealth()
|
||||||
void refreshStudioQueue()
|
void refreshStudioQueue()
|
||||||
if (activeQueueId.value) void refreshLiveQueue()
|
if (activeQueueId.value) void refreshLiveQueue()
|
||||||
}, 5000)
|
}, 5000)
|
||||||
|
|||||||
Reference in New Issue
Block a user