Sha256: 21fcbb0e3eba6224c4d37a59fdbf55878cf7b510880273a23bbfe1ef7970551c

Contents?: true

Size: 500 Bytes

Versions: 5

Compression:

Stored size: 500 Bytes

Contents

# 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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sentry-delayed_job-5.22.3 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.22.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.22.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.22.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.21.0 lib/sentry/delayed_job/configuration.rb