Sha256: 756d829112d514d1970dc194dc53217aa0c2d9feab5f164b2f56ea0417bd761b
Contents?: true
Size: 304 Bytes
Versions: 2
Compression:
Stored size: 304 Bytes
Contents
class PeakFlowUtils::Pings::SidekiqController < PeakFlowUtils::ApplicationController def index require "sidekiq/api" sidekiq_queue = Sidekiq::Queue.new render json: { check_json_status: "OK", latency: sidekiq_queue.latency, queue_size: sidekiq_queue.size } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
peak_flow_utils-0.1.19 | app/controllers/peak_flow_utils/pings/sidekiq_controller.rb |
peak_flow_utils-0.1.18 | app/controllers/peak_flow_utils/pings/sidekiq_controller.rb |