mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
add top page
This commit is contained in:
@@ -8,7 +8,6 @@ module Jobs
|
||||
recurrence { hourly.minute_of_hour(3, 18, 33, 48) }
|
||||
|
||||
def execute(args)
|
||||
|
||||
# Update the average times
|
||||
Post.calculate_avg_time
|
||||
Topic.calculate_avg_time
|
||||
@@ -25,6 +24,9 @@ module Jobs
|
||||
# Refresh Hot Topics
|
||||
HotTopic.refresh!
|
||||
|
||||
# Refresh Top Topics
|
||||
TopTopic.refresh!
|
||||
|
||||
# Automatically close stuff that we missed
|
||||
Topic.auto_close
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user