Open
Description
Why
When jobs are scheduled to run at the same time, the current take()
operation on drivers does not sort for higher priority jobs.
Solution
- Add an additional optional "priority" field to the document
- Add necessary indexes to allow drivers to take by
visible < now
, ordered bypriority DESC
thenvisible DESC
- Loki driver change
- Mongo driver change
- Postgres driver change