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

stop_remaining_jobs does not stop submission of new jobs #116

Open
luator opened this issue Jul 2, 2024 · 1 comment
Open

stop_remaining_jobs does not stop submission of new jobs #116

luator opened this issue Jul 2, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@luator
Copy link
Member

luator commented Jul 2, 2024

The stop_remaining_jobs command doesn't seem to work as intended.

Expected behaviour

Stop all running and pending jobs, do not submit new jobs, exit main loop.

Actual behaviour

Running and pending jobs are cancelled but the main loop is not exited, so new jobs will be submitted (at least when running hp_optimization, where new jobs are only submitted after running jobs finished.

Another funny thing I noticed: After calling it, I get a rather high number of failed jobs displayed in the "started execution" progress bar which then goes down over the next few seconds. So also something is wrongly counted there.


Anyway, if the purpose is to stop everything, do we actually need that command? Does it have any advantage over stopping with Ctrl+C?

See also discussion here: #114 (comment)

@luator luator added the bug Something isn't working label Jul 2, 2024
@luator
Copy link
Member Author

luator commented Jul 2, 2024

Note: When this get's fixed, make sure to update the documentation in usage.rst accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant