diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-25 12:04:40 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-25 12:04:40 +0200 |
commit | 4737fc3beeb3785c2f75ee0749830c40a901e061 (patch) | |
tree | a75217b9afca5dc9cf4fad16288e735aa9398b36 /db/post_migrate | |
parent | 3eba43b62dc825dd8a40f74fe027bb613b8ed2a8 (diff) | |
download | gitlab-ce-4737fc3beeb3785c2f75ee0749830c40a901e061.tar.gz |
Decrease statuses batch size even more in a migration
Diffstat (limited to 'db/post_migrate')
-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 |