Skip to content

Commit 4a55836

Browse files
author
Michael Klishin
committed
Use :manual_ack as a more descriptive name
1 parent 07d1108 commit 4a55836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/worker.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
puts " [*] Waiting for messages. To exit press CTRL+C"
1414

1515
begin
16-
q.subscribe(:ack => true, :block => true) do |delivery_info, properties, body|
16+
q.subscribe(:manual_ack => true, :block => true) do |delivery_info, properties, body|
1717
puts " [x] Received '#{body}'"
1818
# imitate some work
1919
sleep 1.0

0 commit comments

Comments
 (0)