PERF: only run category stats once a day
This commit is contained in:
parent
22cd259687
commit
0b5e19303d
|
@ -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 New Issue