discourse/lib/jobs/calculate_avg_time.rb

13 lines
155 B
Ruby

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