Sha256: ec75f50cee65e5e4b43cb4d694602eab4583b9266d713ee5175b96e0301ecad6

Contents?: true

Size: 367 Bytes

Versions: 4

Compression:

Stored size: 367 Bytes

Contents

module Sidekiq::QueueMetrics
  def self.init(config)
    config.server_middleware do |chain|
      chain.add Sidekiq::QueueMetrics::JobSuccessMonitor
    end

    config.death_handlers << Sidekiq::QueueMetrics::JobDeathMonitor.proc
  end

  def self.storage_location=(key)
    @storage_location = key
  end

  def self.storage_location
    @storage_location
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sidekiq_queue_metrics-1.0 lib/sidekiq_queue_metrics/configuration.rb
sidekiq_queue_metrics-0.0.4 lib/sidekiq_queue_metrics/configuration.rb
sidekiq_queue_metrics-0.0.3 lib/sidekiq_queue_metrics/configuration.rb
sidekiq_queue_metrics-0.0.2 lib/sidekiq_queue_metrics/configuration.rb