increase period for deleting mod actions

This commit is contained in:
r888888888
2017-05-08 13:49:32 -07:00
parent f803137106
commit 2b74fe669e
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ class DailyMaintenance
PostPruner.new.prune!
TagPruner.new.prune!
Upload.delete_all(['created_at < ?', 1.day.ago])
ModAction.delete_all(['created_at < ?', 3.days.ago])
ModAction.delete_all(['created_at < ?', 30.days.ago])
Delayed::Job.delete_all(['created_at < ?', 7.days.ago])
PostVote.prune!
CommentVote.prune!

View File

@@ -28,7 +28,7 @@ if environment == "production"
runner "PostUpdate.push"
end
every 1.hour do
runner "AmazonBackup.execute"
end
# every 1.hour do
# runner "AmazonBackup.execute"
# end
end