A platform for community discussion. Free, open, simple.
DEV: Change priority to ultra_low for post-s3-migration rebake
David Taylor20daa76829e4
diff --git a/lib/tasks/uploads.rake b/lib/tasks/uploads.rakeindex 027351fe3e3..a4b85c18dd9 100644--- a/lib/tasks/uploads.rake+++ b/lib/tasks/uploads.rake@@ -425,7 +425,9 @@ def migrate_to_s3puts "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)+ endendend