Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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 ?

like image 595
Michael Avatar asked Oct 15 '14 21:10

Michael


1 Answers

You are right.

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

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

like image 149
Phalgun Avatar answered Oct 21 '22 02:10

Phalgun