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 option to exclude currently locked jobs in jobs:check. #1127

Closed
joshuapinter opened this issue Dec 2, 2020 · 1 comment · May be fixed by #1087
Closed

Add option to exclude currently locked jobs in jobs:check. #1127

joshuapinter opened this issue Dec 2, 2020 · 1 comment · May be fixed by #1087

Comments

@joshuapinter
Copy link

If a job is currently being processed, it would be nice to have an option to exclude them from being reported in jobs:check.

jobs:check’s primary purpose is to see the currently outstanding jobs in the queue. This is great if the jobs are super quick, but we have some very long-running jobs that show up in the response as well, which we don't care about. i.e. We only care about jobs that have yet to start.

So making an option in jobs:check to exclude currently processing jobs would be ideal to fit our needs and potentially others. Keeping the default to include processing jobs means no breaking changes.

We forked and have been using our fork of this for some time in production. Here's the PR to add this:

#1087

@albus522
Copy link
Member

albus522 commented Dec 2, 2020

Duplicate of PR, please do not post both.

@albus522 albus522 closed this as completed Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants