lib/pwwka/configuration.rb in pwwka-0.20.0 vs lib/pwwka/configuration.rb in pwwka-0.21.0

- old
+ new

@@ -11,10 +11,11 @@ attr_accessor :log_level attr_accessor :options attr_accessor :async_job_klass attr_accessor :send_message_resque_backoff_strategy attr_accessor :default_prefetch + attr_accessor :process_name attr_reader :requeue_on_error attr_writer :app_id attr_writer :error_handling_chain def initialize @@ -30,9 +31,10 @@ @requeue_on_error = false @keep_alive_on_handler_klass_exceptions = false @async_job_klass = Pwwka::SendMessageAsyncJob @default_prefetch = nil @receive_raw_payload = false + @process_name = $0 end def keep_alive_on_handler_klass_exceptions? @keep_alive_on_handler_klass_exceptions end