lib/basquiat/adapters/rabbitmq_adapter.rb in basquiat-1.3.0.pre.1 vs lib/basquiat/adapters/rabbitmq_adapter.rb in basquiat-1.3.0

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true require 'bunny' require 'delegate' module Basquiat module Adapters @@ -66,10 +67,10 @@ @connection = nil @session = nil @strategy = nil end - alias_method :disconnect, :reset_connection + alias disconnect reset_connection # Lazy initializes the requeue strategy configured for the adapter # @return [BaseStrategy] def strategy @strategy ||= @configuration.strategy.new(session)