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

Option to ignore stale jobs #90

Open
selwin opened this issue Aug 12, 2015 · 1 comment
Open

Option to ignore stale jobs #90

selwin opened this issue Aug 12, 2015 · 1 comment

Comments

@selwin
Copy link
Contributor

selwin commented Aug 12, 2015

rqscheduler command should take an argument that allows it to ignore stale jobs (jobs that should have been enqueued long ago).

For example, running rqscheduler --stale-threshold=3600 will not enqueue jobs that are scheduled to run more than an hour ago.

Better option name suggestions welcome :)

@hanks
Copy link

hanks commented Aug 14, 2015

The naming is aways hard;)

If here to ignore the stale jobs when running scheduler at the first time. how to distinguish the stale jobs and the normal jobs later.

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

2 participants