upgrade to bunny 0.7.12
Also adjusts the beetle disconnect timeout accordingly.
MODIFY
beetle.gemspec
beetle.gemspec
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.specification_version = 3
s.add_runtime_dependency "uuid4r", ">= 0.1.2"
- s.add_runtime_dependency "bunny", "~> 0.7.10"
+ s.add_runtime_dependency "bunny", "~> 0.7.12"
s.add_runtime_dependency "redis", ">= 2.2.2"
s.add_runtime_dependency "hiredis", ">= 0.4.5"
s.add_runtime_dependency "amq-protocol", "= 2.0.1"

MODIFY
lib/beetle/publisher.rb
lib/beetle/publisher.rb
@@ -225,7 +225,7 @@ module Beetle
def stop!(exception=nil)
return unless bunny?
- timeout = @client.config.publisher_connect_timeout * 2 + 1
+ timeout = @client.config.publishing_timeout + @client.config.publisher_connect_timeout + 1
Beetle::Timer.timeout(timeout) do
logger.debug "Beetle: closing connection from publisher to #{server}"
if exception

upgrade to bunny 0.7.12

Also adjusts the beetle disconnect timeout accordingly.