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

Add job_limits to config; limit the number jobs in the job queue #1010

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

pagrubel
Copy link
Collaborator

Addresses #969

This implementation gives the task the state 'SUBMIT', however when queried it remains 'WAITING'.
So I need to figure out how to propagate the state to the query.
Also, this is a simple way to limit jobs.
In the future we might want to consider monitoring accounts.
If a workflow is paused anything in the submit queue will continue to be scheduled. This needs to be addressed possibly in another PR.

@pagrubel pagrubel added the WIP Work in progress label Feb 12, 2025
@pagrubel pagrubel requested a review from rstyd February 12, 2025 00:11
@pagrubel
Copy link
Collaborator Author

I should add the 'SUBMIT' indicates the task is in the submit queue waiting to be scheduled and placed in the job queueu.

@pagrubel pagrubel added the enhancement New feature or request label Feb 12, 2025
@pagrubel
Copy link
Collaborator Author

Oh just thought of this, the default is 2 right now. I need to change that to blank and make it a large number.

@pagrubel pagrubel removed the WIP Work in progress label Feb 12, 2025
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

Successfully merging this pull request may close these issues.

1 participant