Decrease statuses batch size even more in a migration
This commit is contained in:
parent
3eba43b62d
commit
4737fc3bee
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue