mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -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