mrc-ide / rrq

:runner::runner::runner: Lightweight Redis queues
https://mrc-ide.github.io/rrq/
Other
24 stars 4 forks source link

Task queue position #5

Open richfitz opened 6 years ago

richfitz commented 6 years ago

Should be an easy redis call - position of an element within the queue

richfitz commented 6 years ago

Should be something like

task_queue_position

and atomically return the number of jobs ahead, -1 if running, -2 otherwise?