This commit is contained in:
r888888888
2013-04-16 21:29:33 -07:00
parent ef0531a2cf
commit 2b8eb034bd
2 changed files with 1 additions and 1 deletions

View File

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

View File

@@ -1,7 +1,6 @@
class WeeklyMaintenance
def run
ActiveRecord::Base.connection.execute("set statement_timeout = 0")
ApiCacheGenerator.new.generate_tag_cache
UserPasswordResetNonce.prune!
end
end