discourse/app/jobs/onceoff/clean_up_sidekiq_statistic.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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