lib/backburner/configuration.rb in backburner-0.2.0 vs lib/backburner/configuration.rb in backburner-0.2.5

- old
+ new

@@ -7,10 +7,11 @@ attr_accessor :on_error # error handler attr_accessor :max_job_retries # max job retries attr_accessor :retry_delay # retry delay in seconds attr_accessor :default_queues # default queues attr_accessor :logger # logger + attr_accessor :default_worker # default worker class def initialize @beanstalk_url = "beanstalk://localhost" @tube_namespace = "backburner.worker.queue" @default_priority = 65536 @@ -18,8 +19,9 @@ @on_error = nil @max_job_retries = 0 @retry_delay = 5 @default_queues = [] @logger = nil + @default_worker = Backburner::Workers::Simple end end # Configuration end # Backburner \ No newline at end of file