Commit 189d9e76 authored by Alexandru Croitor's avatar Alexandru Croitor

Fix MAX_BATCH_SIZE to match BATCH_SIZE

parent 0554c4df
......@@ -4,7 +4,7 @@ class ScheduleNullifyOrphanRunnerIdOnCiBuilds < Gitlab::Database::Migration[1.0]
MIGRATION = 'NullifyOrphanRunnerIdOnCiBuilds'
INTERVAL = 2.minutes
BATCH_SIZE = 100_000
MAX_BATCH_SIZE = 25_000 # 100k * 25k = 2.5B ci_builds
MAX_BATCH_SIZE = 100_000 # 100k * 25k = 2.5B ci_builds
SUB_BATCH_SIZE = 1_000
def up
......
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