add inactive approver pruner

This commit is contained in:
Albert Yi
2018-08-28 15:02:03 -07:00
parent 452413a80e
commit 31df8d9f87
2 changed files with 6 additions and 3 deletions

View File

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