Nest shot scripts under Queue jobs, keep the studio from overflowing on phones, and lighten library thumbs and polling so the UI stays responsive.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -127,7 +127,7 @@ export async function fetchHistory(promptId: string) {
|
||||
}
|
||||
|
||||
export async function fetchHistoryAll() {
|
||||
const res = await comfyFetch('/history')
|
||||
const res = await comfyFetch('/history', { signal: AbortSignal.timeout(12000) })
|
||||
if (!res.ok) return {}
|
||||
return (await res.json()) as Record<string, unknown>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user