Sha256: d0c4e5fdce3c652475175e5c87a9e8dddd3fb2c13ca87587717ea14eaa3a9207

Contents?: true

Size: 482 Bytes

Versions: 4

Compression:

Stored size: 482 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
sentry-resque-5.22.2 lib/sentry/resque/configuration.rb
sentry-resque-5.22.1 lib/sentry/resque/configuration.rb
sentry-resque-5.22.0 lib/sentry/resque/configuration.rb
sentry-resque-5.21.0 lib/sentry/resque/configuration.rb