mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
PERF: only run category stats once a day
This commit is contained in:
parent
22cd259687
commit
0b5e19303d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
module Jobs
|
||||
|
||||
class CategoryStats < Jobs::Scheduled
|
||||
every 4.hours
|
||||
every 24.hours
|
||||
|
||||
def execute(args)
|
||||
Category.update_stats
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue