Sha256: 988abc787ecc8a0ed485dad3f428dbb7235c7edd3badb1d134e81d61d0a54ba5

Contents?: true

Size: 469 Bytes

Versions: 60

Compression:

Stored size: 469 Bytes

Contents

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

60 entries across 60 versions & 1 rubygems

Version Path
sentry-delayed_job-5.20.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.20.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.19.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.18.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.18.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.18.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.17.3 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.17.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.17.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.17.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.16.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.15.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.15.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.15.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.14.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.13.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.12.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.11.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.10.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-5.9.0 lib/sentry/delayed_job/configuration.rb