Get rid of all batch order warnings (#8334)

This commit is contained in:
Eugen Rochko
2018-08-21 12:25:50 +02:00
committed by GitHub
parent 83746b6364
commit d98de8ada7
10 changed files with 19 additions and 19 deletions

View File

@ -6,7 +6,7 @@ class Scheduler::BackupCleanupScheduler
sidekiq_options unique: :until_executed
def perform
old_backups.find_each(&:destroy!)
old_backups.reorder(nil).find_each(&:destroy!)
end
private