maintenance: consolidate maintenance tasks in logical/maintenance.rb.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
class WeeklyMaintenance
|
||||
def run
|
||||
ActiveRecord::Base.connection.execute("set statement_timeout = 0")
|
||||
UserPasswordResetNonce.prune!
|
||||
ApproverPruner.prune!
|
||||
# JanitorPruner.new.prune!
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user