cron: move 'vacuum analyze' to daily maintenance.

This commit is contained in:
evazion
2019-08-06 10:42:45 -05:00
parent 060a585e34
commit 2df6bf41f6
2 changed files with 1 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ module Maintenance
TagChangeRequestPruner.warn_all
TagChangeRequestPruner.reject_all
Ban.prune!
ActiveRecord::Base.connection.execute("vacuum analyze")
rescue Exception => exception
rescue_exception(exception)
end