This commit is contained in:
r888888888
2014-03-06 18:35:46 -08:00
parent 03e8906b09
commit 159c297306

View File

@@ -7,6 +7,7 @@ class DailyMaintenance
ModAction.delete_all(['created_at < ?', 3.days.ago])
Delayed::Job.delete_all(['created_at < ?', 7.days.ago])
PostVote.delete_all(['created_at < ?', 1.month.ago])
CommentVote.delete_all(['created_at < ?', 1.month.ago])
TagSubscription.process_all
ApiCacheGenerator.new.generate_tag_cache
end