PERF: only run category stats once a day

This commit is contained in:
Sam 2014-08-11 09:41:50 +10:00
parent 22cd259687
commit 0b5e19303d
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
module Jobs
class CategoryStats < Jobs::Scheduled
every 4.hours
every 24.hours
def execute(args)
Category.update_stats