Right now Pending includes any jobs that haven't been attempted or locked. This is misleading when you have lots of jobs scheduled for the future. Jobs that are scheduled for the future aren't really "Pending" they are "Scheduled." If they are not included then "Pending" is the actual count of jobs that are waiting to be process right now.
Right now Pending includes any jobs that haven't been attempted or locked. This is misleading when you have lots of jobs scheduled for the future. Jobs that are scheduled for the future aren't really "Pending" they are "Scheduled." If they are not included then "Pending" is the actual count of jobs that are waiting to be process right now.
I have created a fork with those changes - https://github.com/waggl/delayed_job_web/commit/db43b04a4ba09e68487673e059b77785a0f73eec. I couldn't get the test suite passing before the making changes. As a result, I have not changed the tests.
If folks are interested in this change and can give me some help getting the tests passing, I would be happy to make a PR.