mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:34:18 +08:00
8 lines
172 B
Ruby
8 lines
172 B
Ruby
module Jobs
|
|
class CleanUpSidekiqStatistic < Jobs::Onceoff
|
|
def execute_onceoff(args)
|
|
$redis.without_namespace.del('sidekiq:sidekiq:statistic')
|
|
end
|
|
end
|
|
end
|