2022-11-20 10:22:29 -08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-12-24 14:43:27 -08:00
|
|
|
require "sidekiq/api"
|
|
|
|
|
2022-11-20 08:58:44 -08:00
|
|
|
class Admin::DashboardController < ApplicationController
|
|
|
|
before_action :authenticate_user!
|
|
|
|
|
2022-12-24 14:43:27 -08:00
|
|
|
def index
|
|
|
|
@sidekiq = {
|
|
|
|
processes: Sidekiq::ProcessSet.new,
|
|
|
|
stats: Sidekiq::Stats.new
|
|
|
|
}
|
|
|
|
end
|
2022-11-20 08:58:44 -08:00
|
|
|
end
|