Sha256: c03891798fe2d7b961bd8ea5ff1c04a1014e7f606f38a020264a785bd416d5c6

Contents?: true

Size: 455 Bytes

Versions: 17

Compression:

Stored size: 455 Bytes

Contents

module Sentry
  class Configuration
    attr_reader :sidekiq

    add_post_initialization_callback do
      @sidekiq = Sentry::Sidekiq::Configuration.new
    end
  end

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

17 entries across 17 versions & 1 rubygems

Version Path
sentry-sidekiq-5.2.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.1.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.1.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.0.2 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.0.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.0.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.9.2 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.9.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.9.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.8.3 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.8.2 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.8.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.8.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.7.3 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.7.2 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.7.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-4.7.0 lib/sentry/sidekiq/configuration.rb