Skip to content

Commit c1aa2d8

Browse files
author
Michael Klishin
committed
Now that Bunny::Connection#close performs clean shutdowns, these can go
1 parent b6c7fe0 commit c1aa2d8

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

ruby/emit_log.rb

-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@
1414
x.publish(msg)
1515
puts " [x] Sent #{msg}"
1616

17-
sleep 0.5
1817
conn.close

ruby/emit_log_direct.rb

-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@
1414
x.publish(msg, :routing_key => severity)
1515
puts " [x] Sent '#{msg}'"
1616

17-
sleep 0.5
1817
conn.close

ruby/emit_log_topic.rb

-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@
1414
x.publish(msg, :routing_key => severity)
1515
puts " [x] Sent #{severity}:#{msg}"
1616

17-
sleep 0.5
1817
conn.close

ruby/new_task.rb

-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@
1414
q.publish(msg, :persistent => true)
1515
puts " [x] Sent #{msg}"
1616

17-
sleep 1.0
1817
conn.close

ruby/send.rb

-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@
1212
ch.default_exchange.publish("Hello World!", :routing_key => q.name)
1313
puts " [x] Sent 'Hello World!'"
1414

15-
sleep 0.5
1615
conn.close

0 commit comments

Comments
 (0)