diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-25 13:04:40 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-25 13:04:40 +0300 |
commit | 4737fc3beeb3785c2f75ee0749830c40a901e061 (patch) | |
tree | a75217b9afca5dc9cf4fad16288e735aa9398b36 /db | |
parent | 3eba43b62dc825dd8a40f74fe027bb613b8ed2a8 (diff) |
Decrease statuses batch size even more in a migration
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20170711145558_migrate_stages_statuses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20170711145558_migrate_stages_statuses.rb b/db/post_migrate/20170711145558_migrate_stages_statuses.rb index 7eb577ff3b2..aeb900354db 100644 --- a/db/post_migrate/20170711145558_migrate_stages_statuses.rb +++ b/db/post_migrate/20170711145558_migrate_stages_statuses.rb @@ -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 |