Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Prompt queue resilience

Open
#1,833 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Add an option for prompt queues to survive core restart by residing in session data. This would effectively involve prompt queue export / import.

### Proposed workflow

1. Enable setting
1. Queue 30 unique prompts
1. Crash ComfyUI core, accidentally kill the process/window, or simultaneously trip over all of your server's redundant power cords
1. Recover from catastrophe
1. Click "restore queue" button
1. *async foreach prompt queue*

### Additional information

Original request:

> Saving the queue, or at least preserving it [should] a restart of the python/comfy console be needed in a session would be [extremely] helpful I think. [...] It only took a restart to continue on, but once the console/server window is closed the queue will disappear.

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1833-Feature-Request-Prompt-queue-resilience-15f6d73d365081109541d9455f7097e4) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.