discourse/app/jobs/onceoff/clean_up_sidekiq_statistic.rb

10 lines
205 B
Ruby

# frozen_string_literal: true
module Jobs
class CleanUpSidekiqStatistic < ::Jobs::Onceoff
def execute_onceoff(args)
$redis.without_namespace.del('sidekiq:sidekiq:statistic')
end
end
end