lib/pwwka/configuration.rb in pwwka-0.7.0 vs lib/pwwka/configuration.rb in pwwka-0.8.0.RC1

- old
+ new

@@ -8,19 +8,21 @@ attr_accessor :topic_exchange_name attr_accessor :delayed_exchange_name attr_accessor :logger attr_accessor :options attr_accessor :send_message_resque_backoff_strategy + attr_accessor :requeue_on_error def initialize @rabbit_mq_host = nil @topic_exchange_name = "pwwka.topics.#{Pwwka.environment}" @delayed_exchange_name = "pwwka.delayed.#{Pwwka.environment}" @logger = MonoLogger.new(STDOUT) @options = {} @send_message_resque_backoff_strategy = [5, #intermittent glitch? 60, # quick interruption 600, 600, 600] # longer-term outage? + @requeue_on_error = false end def payload_logging @payload_logging || :info end