Skip to content

Commit

Permalink
Clarify that prefetch_* options limit unacked messages (#191)
Browse files Browse the repository at this point in the history
* Clarify that `prefetch_*` options limit unacked messages

See https://www.rabbitmq.com/consumer-prefetch.html

* Update lib/amqp/basic.ex

Co-authored-by: Tatsuya Ono <[email protected]>

Co-authored-by: Tatsuya Ono <[email protected]>
  • Loading branch information
nathanl and ono authored Feb 27, 2021
1 parent bb3d97f commit a9a3159
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/amqp/basic.ex
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ defmodule AMQP.Basic do
end

@doc """
Sets the message prefetch count or prefetech size (in bytes).
Sets the message prefetch count or prefetch size (in bytes).
This allows you to limit the number of unacknowledged messages.
## Options
Expand Down

0 comments on commit a9a3159

Please sign in to comment.