Search code examples
python-rq

how to explicitely give priorities to the queues with python-rq


I am trying python-rq and I do not see how to explicitely give priorities to the queues?

Does the priority come from the order they are defined when the worker is launched?

rqworker queueA queueB queueC

queueA is prioritized compare to queueB and queueC ?


Solution

  • You are right.

    The order of the arguments queueA, queueB, queueC defines the priority.

    For more details - http://python-rq.org/docs/workers/