mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Get rid of all batch order warnings (#8334)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user