Decrease statuses batch size even more in a migration

This commit is contained in:
Grzegorz Bizon 2017-08-25 12:04:40 +02:00
parent 3eba43b62d
commit 4737fc3bee

View file

@ -6,7 +6,7 @@ class MigrateStagesStatuses < ActiveRecord::Migration
disable_ddl_transaction!
BATCH_SIZE = 10000
RANGE_SIZE = 500
RANGE_SIZE = 100
MIGRATION = 'MigrateStageStatus'.freeze
class Stage < ActiveRecord::Base