job.promote() does not consider priority
Created by: sokki
Description
When the waiting queue gets constantly filled with jobs that have a priority
, a job that gets .promote()
d is never processed.
Minimal, Working Test code to reproduce the issue.
https://github.com/sokki/bull-promote-bug/blob/master/index.js
ccc
is never logged.
When I remove the .promote
in L23 OR the priority
in L7 it works as expected.
Bull version
3.6.0