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-4.8.3 lib/sentry/resque/configuration.rb
sentry-resque-4.8.2 lib/sentry/resque/configuration.rb
sentry-resque-4.8.1 lib/sentry/resque/configuration.rb
sentry-resque-4.8.0 lib/sentry/resque/configuration.rb
sentry-resque-4.7.3 lib/sentry/resque/configuration.rb
sentry-resque-4.7.2 lib/sentry/resque/configuration.rb
sentry-resque-4.7.1 lib/sentry/resque/configuration.rb
sentry-resque-4.7.0 lib/sentry/resque/configuration.rb
sentry-resque-4.6.5 lib/sentry/resque/configuration.rb
sentry-resque-4.6.4 lib/sentry/resque/configuration.rb
sentry-resque-4.6.3 lib/sentry/resque/configuration.rb
sentry-resque-4.6.2 lib/sentry/resque/configuration.rb
sentry-resque-4.6.1 lib/sentry/resque/configuration.rb
sentry-resque-4.6.0 lib/sentry/resque/configuration.rb
sentry-resque-4.6.0.pre.beta.0 lib/sentry/resque/configuration.rb