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
1 changed files with 1 additions and 1 deletions

View File

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