Sha256: 78a92d2ece8c84c82deaea313acc0564b01c42b7591d4e3c0581d1288b690dfa

Contents?: true

Size: 615 Bytes

Versions: 22

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true

Delayed::Worker.logger = Logger.new(Rails.root.join("log", "delayed_job.log"))
Delayed::Worker.destroy_failed_jobs = false
Delayed::Worker.max_attempts = 10 # overridden e.g. in FeedJob
Delayed::Worker.max_run_time = 2.hours
Delayed::Worker.read_ahead = 10
Delayed::Worker.sleep_delay = 15 # Also affects how long it takes delayed_job to stop on Crl+C
Delayed::Worker.default_priority = 5 # use a lower number to get preferential treatment
# Will only raise an exception on TERM signals but INT will wait for the current job to finish.
Delayed::Worker.raise_signal_exceptions = :term

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
renalware-core-2.0.69 config/initializers/delayed_job.rb
renalware-core-2.0.68 config/initializers/delayed_job.rb
renalware-core-2.0.67 config/initializers/delayed_job.rb
renalware-core-2.0.64 config/initializers/delayed_job.rb
renalware-core-2.0.63 config/initializers/delayed_job.rb
renalware-core-2.0.62 config/initializers/delayed_job.rb
renalware-core-2.0.61 config/initializers/delayed_job.rb
renalware-core-2.0.60 config/initializers/delayed_job.rb
renalware-core-2.0.58 config/initializers/delayed_job.rb
renalware-core-2.0.57 config/initializers/delayed_job.rb
renalware-core-2.0.56 config/initializers/delayed_job.rb
renalware-core-2.0.55 config/initializers/delayed_job.rb
renalware-core-2.0.54 config/initializers/delayed_job.rb
renalware-core-2.0.53 config/initializers/delayed_job.rb
renalware-core-2.0.52 config/initializers/delayed_job.rb
renalware-core-2.0.51 config/initializers/delayed_job.rb
renalware-core-2.0.50 config/initializers/delayed_job.rb
renalware-core-2.0.48 config/initializers/delayed_job.rb
renalware-core-2.0.47 config/initializers/delayed_job.rb
renalware-core-2.0.46 config/initializers/delayed_job.rb