fixes #1136 (and a few other cases)

This commit is contained in:
albert
2013-03-30 11:51:17 -04:00
parent 85a5fcc658
commit cb1b021c2c
4 changed files with 4 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ class DailyMaintenance
Upload.delete_all(['created_at < ?', 1.day.ago])
ModAction.delete_all(['created_at < ?', 3.days.ago])
Delayed::Job.delete_all(['created_at < ?'], 1.day.ago)
ApiCacheGenerator.new.generate_tag_cache
end
def prune_ad_hits