Rabbitmq 如果存在空闲进程,如何强制芹菜消耗下一个任务?

Rabbitmq 如果存在空闲进程,如何强制芹菜消耗下一个任务?,rabbitmq,celery,celeryd,Rabbitmq,Celery,Celeryd,我已经设置了芹菜从RabbitMQ获取任务,并且一切正常,但我注意到以下行为(T:task,p:process): -->从代理获取第一批消息(6个任务) 发送T1..T6由P1..P6执行 -->从代理预取6条新消息,但不确认它们 --> Fetch first batch of messages (6 tasks) from broker <-- messages are received. Start them --> Send T1..T6 to be executed

我已经设置了芹菜从RabbitMQ获取任务,并且一切正常,但我注意到以下行为(
T
:task,
p
:process):

-->从代理获取第一批消息(6个任务)
发送T1..T6由P1..P6执行
-->从代理预取6条新消息,但不确认它们
--> Fetch first batch of messages (6 tasks) from broker
<-- messages are received. Start them
--> Send T1..T6 to be executed by P1..P6
--> Prefetch 6 new messages from broker, but do not ACK them
<-- P1..P5 finish tasks T1..T5, but T6 is still being processed (it will take ~2h)