Replies: 1 comment
-
You may consider rewriting your question, as it is quite difficult to understand (at least for me). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to know if there is a way to "peek" both front and back on a given LIFO QUEUE.
1 LIFO Queue
1 Simple worker on the LIFO Queue
1 "Kicked outs" worker on the LIFO Queue that peek jobs from back when the queue contains at least 2 elements.
In other words: i would like to be able to set LIFO/FIFO rule on worker rather than setting it to the Queue, and set minimal FIFO processing to 2 on FIFO worker.
The goal is to make sur that only the last LIFO element is processed while others are just sent to the "Kicked outs" queue which will actually make "nothing done" acknowledgment for all.
Acknowledgment because stored objets are Socket.io events.
Beta Was this translation helpful? Give feedback.
All reactions