Skip to content
Snippets Groups Projects
Commit 51fd0343 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

docs fixes

parent 4ac48845
No related branches found
No related tags found
1 merge request!6CoolAMQP 2.0.0
Pipeline #63436 passed with stages
in 2 minutes and 22 seconds
......@@ -16,6 +16,7 @@ v2.0.0
* renamed publish(tx) to publish(confirm)
* declare will expect qos to be given as an integer, and will be set as prefetch_count, since RabbitMQ no longer
supports prefetch_size
* same can be said of Consumer.set_qos(prefetch_count)
v1.5.0
======
......
......@@ -84,10 +84,7 @@ class Consumer(Channeler):
:param span: optional span, if opentracing is installed
:param no_ack: Will this consumer require acknowledges from messages?
:type no_ack: bool
:param qos: a tuple of (prefetch size, prefetch window) for this
consumer, or an int (prefetch window only).
If an int is passed, prefetch size will be set to 0 (which means
undefined), and this int will be used for prefetch window
:param qos: maximum messages to send to client that can stay unacknowledged (qos.prefetch_count)
:type qos: int, prefetch_count to use
:param cancel_on_failure: Consumer will cancel itself when link goes
down
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment