Fix Comfy wake: launch when HTTP is down instead of treating leftover Python as already booting.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -154,7 +154,7 @@ export async function requestComfyWake() {
|
||||
statusMessage: 'COMFY_CONTROL_URL is not set. The studio cannot poke the Beast host agent.'
|
||||
})
|
||||
}
|
||||
const remote = await controlRequest('/start', 'POST')
|
||||
const remote = await controlRequest('/start', 'POST', 25_000)
|
||||
if (!remote) {
|
||||
throw createError({
|
||||
statusCode: 503,
|
||||
@@ -263,7 +263,7 @@ async function startComfy() {
|
||||
}
|
||||
lastStartAt = now
|
||||
|
||||
const remote = await controlRequest('/start', 'POST')
|
||||
const remote = await controlRequest('/start', 'POST', 25_000)
|
||||
throwIfTrainingBusy(remote)
|
||||
if (remote?.ok || remote?.started) {
|
||||
log('start-remote', { pid: remote.pid || null })
|
||||
|
||||
Reference in New Issue
Block a user