Sha256: 8cb7e7df332ab1e4ef14f3fc8e7d511fcc1418f20922b78d316bfad8001da213

Contents?: true

Size: 199 Bytes

Versions: 36

Compression:

Stored size: 199 Bytes

Contents

module GovukHealthcheck
  class SidekiqQueueSizeCheck < SidekiqQueueCheck
    def name
      :sidekiq_queue_size
    end

    def queues
      @queues ||= Sidekiq::Stats.new.queues
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
govuk_app_config-2.2.2 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.2.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.2.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.1.2 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.1.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.1.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.0.3 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.0.2 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.0.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-2.0.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.20.2 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.20.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.20.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.19.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.18.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.17.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.16.3 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.16.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.16.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb
govuk_app_config-1.15.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_queue_size_check.rb