discourse/app/jobs/onceoff/clean_up_sidekiq_statistic.rb

10 lines
214 B
Ruby
Raw Normal View History

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