Skip to content

Commit

Permalink
Disable automatic connection recovery for Bunny tutorials
Browse files Browse the repository at this point in the history
It's not needed and will help investigate obscure exceptions
in CI environment.
  • Loading branch information
Michael Klishin committed Jul 25, 2013
1 parent 6286d5b commit 2316088
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ruby/emit_log.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/emit_log_direct.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/emit_log_topic.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/new_task.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/receive.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/receive_logs.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/receive_logs_direct.rb
Expand Up @@ -7,7 +7,7 @@
abort "Usage: #{$0} [info] [warning] [error]"
end

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/receive_logs_topic.rb
Expand Up @@ -7,7 +7,7 @@
abort "Usage: #{$0} [binding key]"
end

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/rpc_client.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/rpc_server.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/send.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down
2 changes: 1 addition & 1 deletion ruby/worker.rb
Expand Up @@ -3,7 +3,7 @@

require "bunny"

conn = Bunny.new
conn = Bunny.new(:automatically_recover => false)
conn.start

ch = conn.create_channel
Expand Down

0 comments on commit 2316088

Please sign in to comment.