daily maintenance: remove dead tag pruner code.

This commit is contained in:
evazion
2018-10-06 14:27:34 -05:00
parent c8d538f618
commit 5d77f1db08
2 changed files with 0 additions and 8 deletions

View File

@@ -16,10 +16,8 @@ class DailyMaintenance
def run
ActiveRecord::Base.connection.execute("set statement_timeout = 0")
PostPruner.new.prune!
TagPruner.new.prune!
Upload.where('created_at < ?', 1.day.ago).delete_all
Delayed::Job.where('created_at < ?', 45.days.ago).delete_all
#ForumPostVote.where("created_at < ?", 90.days.ago).delete_all
PostVote.prune!
CommentVote.prune!
ApiCacheGenerator.new.generate_tag_cache

View File

@@ -1,6 +0,0 @@
class TagPruner
def prune!
Tag.without_timeout do
end
end
end