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-4.8.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.8.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.8.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.7.3 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.7.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.7.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.7.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.6.5 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.6.4 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.6.3 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.6.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.6.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.6.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.6.0.pre.beta.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.5.2 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.5.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.5.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.5.0.pre.beta.1 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.4.0 lib/sentry/delayed_job/configuration.rb
sentry-delayed_job-4.4.0.pre.beta.0 lib/sentry/delayed_job/configuration.rb