discourse/lib/jobs/calculate_avg_time.rb

12 lines
158 B
Ruby

module Jobs
class CalculateAvgTime < Jobs::Base
def execute(args)
Post.calculate_avg_time
Topic.calculate_avg_time
end
end
end