2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-04-26 02:54:47 -04:00
|
|
|
module Jobs
|
2019-10-02 00:01:53 -04:00
|
|
|
class CleanUpSidekiqStatistic < ::Jobs::Onceoff
|
2017-04-26 02:54:47 -04:00
|
|
|
def execute_onceoff(args)
|
2019-12-03 04:05:53 -05:00
|
|
|
Discourse.redis.without_namespace.del('sidekiq:sidekiq:statistic')
|
2017-04-26 02:54:47 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|