diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-06 14:29:35 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-06 14:29:35 +0100 |
commit | 3c89252e53147fed0d134988a6ec29aa2c02abe5 (patch) | |
tree | 82afb4b2423e5ca1fbc7c9a386ef62641cbc6c69 /db | |
parent | aaa678cbc69ad5768d076a8e1cc3f249b2adeb29 (diff) | |
download | gitlab-ce-3c89252e53147fed0d134988a6ec29aa2c02abe5.tar.gz |
Reduce batch size of stages we schedule for a migration
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20180105101928_schedule_build_stage_migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20180105101928_schedule_build_stage_migration.rb b/db/post_migrate/20180105101928_schedule_build_stage_migration.rb index 3d7f6278244..b33127140bb 100644 --- a/db/post_migrate/20180105101928_schedule_build_stage_migration.rb +++ b/db/post_migrate/20180105101928_schedule_build_stage_migration.rb @@ -3,7 +3,7 @@ class ScheduleBuildStageMigration < ActiveRecord::Migration DOWNTIME = false MIGRATION = 'MigrateBuildStage'.freeze - BATCH = 10_000 + BATCH = 1000 class Build < ActiveRecord::Base include EachBatch |