diff --git a/lib/tasks/uploads.rake b/lib/tasks/uploads.rake index 027351fe3e3..a4b85c18dd9 100644 --- a/lib/tasks/uploads.rake +++ b/lib/tasks/uploads.rake @@ -425,7 +425,9 @@ def migrate_to_s3 puts "Rebaking posts with lightboxes..." - Post.where("cooked LIKE '%class=\"lightbox\"%'").find_each(&:rebake!) + Post.where("cooked LIKE '%class=\"lightbox\"%'").find_each do |post| + post.rebake!(priority: :ultra_low) + end end end