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

[Feature request] allow signals to be sent to workers as well #120

Open
ghost opened this issue Nov 7, 2021 · 5 comments
Open

[Feature request] allow signals to be sent to workers as well #120

ghost opened this issue Nov 7, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 7, 2021

In the new minion version, there's this nice button to send signals to jobs.

My request is to have the exactly same button on the workers subpage. E.g. for gracefully stopping a worker by sending it an INT signal.

@kraih
Copy link
Member

kraih commented Nov 7, 2021

What are the use cases?

@ghost
Copy link
Author

ghost commented Nov 7, 2021

any kind of code/db maintenance

@kraih
Copy link
Member

kraih commented Nov 8, 2021

That tells me very little, please elaborate.

@ghost
Copy link
Author

ghost commented Nov 8, 2021

an active server needs to be taken down for scheduled maintenance. There are still N jobs in a queue to be processed. Graceful worker shutdown ensures database integrity. Actually, not a big deal, i am doing this from the command line, just thought a Minion button would be more convenient.

@kraih
Copy link
Member

kraih commented May 19, 2022

I can't really think of a scenario where i would want to send a signal to the worker from the ui. For maintenance tasks i would have a shell open on the machine anyway, and then just deal with it via systemctl directly. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant