Sha256: 71b5f4c6b7204b7e5692de76c95a64648ee4c22d96133209fd27183d16af20c1

Contents?: true

Size: 451 Bytes

Versions: 55

Compression:

Stored size: 451 Bytes

Contents

module Sentry
  class Configuration
    attr_reader :resque

    add_post_initialization_callback do
      @resque = Sentry::Resque::Configuration.new
    end
  end

  module Resque
    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

55 entries across 55 versions & 1 rubygems

Version Path
sentry-resque-5.9.0 lib/sentry/resque/configuration.rb
sentry-resque-5.8.0 lib/sentry/resque/configuration.rb
sentry-resque-5.7.0 lib/sentry/resque/configuration.rb
sentry-resque-5.6.0 lib/sentry/resque/configuration.rb
sentry-resque-5.5.0 lib/sentry/resque/configuration.rb
sentry-resque-5.4.2 lib/sentry/resque/configuration.rb
sentry-resque-5.4.1 lib/sentry/resque/configuration.rb
sentry-resque-5.4.0 lib/sentry/resque/configuration.rb
sentry-resque-5.3.1 lib/sentry/resque/configuration.rb
sentry-resque-5.3.0 lib/sentry/resque/configuration.rb
sentry-resque-5.2.1 lib/sentry/resque/configuration.rb
sentry-resque-5.2.0 lib/sentry/resque/configuration.rb
sentry-resque-5.1.1 lib/sentry/resque/configuration.rb
sentry-resque-5.1.0 lib/sentry/resque/configuration.rb
sentry-resque-5.0.2 lib/sentry/resque/configuration.rb
sentry-resque-5.0.1 lib/sentry/resque/configuration.rb
sentry-resque-5.0.0 lib/sentry/resque/configuration.rb
sentry-resque-4.9.2 lib/sentry/resque/configuration.rb
sentry-resque-4.9.1 lib/sentry/resque/configuration.rb
sentry-resque-4.9.0 lib/sentry/resque/configuration.rb