lib/amqp/queue.rb in amqp-0.8.0.rc6 vs lib/amqp/queue.rb in amqp-0.8.0.rc7
- old
+ new
@@ -571,10 +571,10 @@
# has expired unless the queue is bound to an active exchange.
#
# The method accepts a block which will be executed when the
# unsubscription request is acknowledged as complete by the server.
#
- # @option opts [Boolean] :nowait (false) If set, the server will not respond to the method. The client should
+ # @option opts [Boolean] :nowait (true) If set, the server will not respond to the method. The client should
# not wait for a reply method. If the server could not complete the
# method it will raise a channel or connection exception.
#
# @yield [cancel_ok]
# @yieldparam [AMQP::Protocol::Basic::CancelOk] cancel_ok AMQP method basic.cancel-ok. You can obtain consumer tag from it.