Commit 9482f552 authored by Alexandru Croitor's avatar Alexandru Croitor

Reduce batch size to 100

parent 58d44486
Pipeline #77981560 passed with stages
in 93 minutes and 20 seconds
......@@ -9,7 +9,7 @@ class MigrateDiscussionIdOnPromotedEpics < ActiveRecord::Migration[5.2]
# We have ~5000 unique discussion_ids -> this migration will take about 12
# minutes (5000/1000 * 2 minutes + 2 minutes initial delay) on gitlab.com.
DOWNTIME = false
BATCH_SIZE = 1_000
BATCH_SIZE = 100
DELAY_INTERVAL = 2.minutes
MIGRATION = 'FixPromotedEpicsDiscussionIds'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment