From 51fd03435881d4fc8d5c52607d3639d219923a32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Sat, 19 Oct 2024 16:20:29 +0200
Subject: [PATCH] docs fixes

---
 CHANGELOG.md                  | 1 +
 coolamqp/attaches/consumer.py | 5 +----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1b1eb89..1333119 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
 ======
diff --git a/coolamqp/attaches/consumer.py b/coolamqp/attaches/consumer.py
index 723998e..7807708 100644
--- a/coolamqp/attaches/consumer.py
+++ b/coolamqp/attaches/consumer.py
@@ -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
-- 
GitLab