re enqueue job as the first element in the :waiting list
Created by: nicosefer
Description
Hi @manast ! First of all, thanks for this awesome library!
When a job fails (with N attempts and backoff = 0 ) it gets re-enqueued on the :waiting list as the last item to be processed (left-side in a FIFO queue). We have a pool of workers that processes jobs from different queues in a round-robin approach and we need to re-process that failed job in the next iteration. Is there any way to put that job as the first (right-side) element in the waiting list ?
Thanks in advance for your time and support!