Closed ric-evans closed 1 year ago
Add special logic for rabbitmq to get around its prefetch limits (https://www.rabbitmq.com/consumer-prefetch.html). Removes the use_prefetch_value arg from open_sub_manual_acking(): see https://github.com/Observation-Management-Service/MQClient/blob/v2.3.1/mqclient/queue.py#L322-L327
use_prefetch_value
open_sub_manual_acking()
~TODO: need tests for retries--will closing the channel affect future acks from the old channel?~
update: tests made, differs by broker
~TODO: shuffle acks~
done!
Add special logic for rabbitmq to get around its prefetch limits (https://www.rabbitmq.com/consumer-prefetch.html). Removes the
use_prefetch_value
arg fromopen_sub_manual_acking()
: see https://github.com/Observation-Management-Service/MQClient/blob/v2.3.1/mqclient/queue.py#L322-L327