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