mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05: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…
Reference in a new issue