From 4bcc1627e898092a2f5935cbab1d5a7a41b6ff2c Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Tue, 2 Sep 2025 10:56:21 +0200 Subject: [PATCH] Tweak script --- script/migrations/backfill_weekly_highlights.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/migrations/backfill_weekly_highlights.rb b/script/migrations/backfill_weekly_highlights.rb index 40668f586..85c5dd92d 100644 --- a/script/migrations/backfill_weekly_highlights.rb +++ b/script/migrations/backfill_weekly_highlights.rb @@ -2,7 +2,9 @@ require_relative "../config/environment" -WEEKS_TO_BACKFILL = 20 +WEEKS_TO_BACKFILL = 10 + +ActiveRecord::Base.logger = Logger.new(File::NULL) ApplicationRecord.with_each_tenant do |tenant| WEEKS_TO_BACKFILL.times do |index|