sentry-delayed_job/lib/sentry/delayed_job/configuration.rb
# frozen_string_literal: true
module Sentry
class Configuration
attr_reader :delayed_job
add_post_initialization_callback do
@delayed_job = Sentry::DelayedJob::Configuration.new
end
end
module DelayedJob
class Configuration
# Set this option to true if you want Sentry to only capture the last job
# retry if it fails.
attr_accessor :report_after_job_retries
def initialize
@report_after_job_retries = false
end
end
end
end