implement super voters
This commit is contained in:
@@ -6,8 +6,8 @@ class DailyMaintenance
|
||||
Upload.delete_all(['created_at < ?', 1.day.ago])
|
||||
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])
|
||||
PostVote.prune!
|
||||
CommentVote.prune!
|
||||
TagSubscription.process_all
|
||||
ApiCacheGenerator.new.generate_tag_cache
|
||||
PostDisapproval.prune!
|
||||
@@ -15,5 +15,7 @@ class DailyMaintenance
|
||||
TagAlias.update_cached_post_counts_for_all
|
||||
PostDisapproval.dmail_messages!
|
||||
Tag.clean_up_negative_post_counts!
|
||||
SuperVoter.prune!
|
||||
SuperVoter.init!
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user