Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement]: Add auto_start_queue or empty_queue_on_startup config setting #6333

Open
1 task done
psychedelicious opened this issue May 9, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@psychedelicious
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

Contact Details

No response

What should this feature add?

Add a config setting auto_start_queue to invokeai.yaml to control whether the queue starts processing immediately on startup, and/or empty_queue_on_startup to empty the queue on startup.

Alternatives

No response

Additional Content

https://discord.com/channels/1020123559063990373/1237801079459287150/1237801079459287150

In this discord bug report, the application had a catastrophic failure with a particular kind of queue item. This failure didn't give the app a chance to handle the error, it just immediately crashed. On next startup, that one queue item was pruned. The user would need to restart the app N number of times, where N is the number of problematic queue items, to clear the queue.

The proposed auto_start_queue would give the user a chance to inspect and clear the queue on startup before a crash-inducing queue item would be executed.

Or, empty_queue_on_startup would let the user get a fresh start.

I'm not sure which I prefer.

@psychedelicious psychedelicious added the enhancement New feature or request label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant