rake jobs:check should not consider jobs scheduled to run in the future #618

Open
jeffday opened this Issue Jan 14, 2014 · 0 comments

Projects

None yet

1 participant

@jeffday
jeffday commented Jan 14, 2014

The rake jobs:check constrains against attempts=0 and created_at, which will return jobs that have been invoked with a :run_at argument.

It might make sense to also constrain against run_at < Time.now so it excludes any jobs that aren't expected to have been processed yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment