summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-24 11:52:50 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-24 11:52:50 +0200
commit952954cb70d199312c136bb62b1cd08aa6950406 (patch)
tree7f94f4e617be7e7fb23465d04ce262acf747a62e /db
parent657b24b7a56411ed415115da596b769f56fa4e54 (diff)
downloadgitlab-ce-952954cb70d199312c136bb62b1cd08aa6950406.tar.gz
Update stages index migration batch size
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20180420080616_schedule_stages_index_migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20180420080616_schedule_stages_index_migration.rb b/db/post_migrate/20180420080616_schedule_stages_index_migration.rb
index 41c4a109f9c..14c67c52e2e 100644
--- a/db/post_migrate/20180420080616_schedule_stages_index_migration.rb
+++ b/db/post_migrate/20180420080616_schedule_stages_index_migration.rb
@@ -3,7 +3,7 @@ class ScheduleStagesIndexMigration < ActiveRecord::Migration
DOWNTIME = false
MIGRATION = 'MigrateStageIndex'.freeze
- BATCH_SIZE = 2000
+ BATCH_SIZE = 8000
disable_ddl_transaction!