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.20.1 lib/sentry/resque/configuration.rb
sentry-resque-5.20.0 lib/sentry/resque/configuration.rb
sentry-resque-5.19.0 lib/sentry/resque/configuration.rb
sentry-resque-5.18.2 lib/sentry/resque/configuration.rb
sentry-resque-5.18.1 lib/sentry/resque/configuration.rb
sentry-resque-5.18.0 lib/sentry/resque/configuration.rb
sentry-resque-5.17.3 lib/sentry/resque/configuration.rb
sentry-resque-5.17.2 lib/sentry/resque/configuration.rb
sentry-resque-5.17.1 lib/sentry/resque/configuration.rb
sentry-resque-5.17.0 lib/sentry/resque/configuration.rb
sentry-resque-5.16.1 lib/sentry/resque/configuration.rb
sentry-resque-5.16.0 lib/sentry/resque/configuration.rb
sentry-resque-5.15.2 lib/sentry/resque/configuration.rb
sentry-resque-5.15.1 lib/sentry/resque/configuration.rb
sentry-resque-5.15.0 lib/sentry/resque/configuration.rb
sentry-resque-5.14.0 lib/sentry/resque/configuration.rb
sentry-resque-5.13.0 lib/sentry/resque/configuration.rb
sentry-resque-5.12.0 lib/sentry/resque/configuration.rb
sentry-resque-5.11.0 lib/sentry/resque/configuration.rb
sentry-resque-5.10.0 lib/sentry/resque/configuration.rb