forked from tobi/delayed_job
-
Notifications
You must be signed in to change notification settings - Fork 956
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
Comments
Duplicate of PR, please do not post both. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: