如何使用python-rq明确地给队列赋予优先级

Mic*_*ael 8 python-rq

我正在尝试python-rq,我不知道如何明确地给队列优先级?

优先级是否来自工作人员启动时定义的顺序?

rqworker queueA queueB queueC
Run Code Online (Sandbox Code Playgroud)

queueA优先于queueB和queueC?

Pha*_*gun 9

你是对的.

的参数的顺序queueA,queueB,queueC定义优先级.

有关详细信息,请访问http://python-rq.org/docs/workers/