Why several jobs added with same priority will be processed in LIFO instead of FIFO #1716
-
Hey, I just gave a look into the prioritized jobs docs and found a very specific info:
So I have the following doubts:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hmm, I updated that documentation recently, It could just have been me being tired and switching FIFO with LIFO, I will double-check. |
Beta Was this translation helpful? Give feedback.
-
Yes, I think I miswrote the queue policy, it is FIFO and not LIFO, fixing it now. |
Beta Was this translation helpful? Give feedback.
Yes, I think I miswrote the queue policy, it is FIFO and not LIFO, fixing it now.
https://github.com/taskforcesh/bullmq/blob/master/src/commands/includes/addJobWithPriority.lua