Commit 4bb140f0 authored by Adam Hegyi's avatar Adam Hegyi

Merge branch 'fix_max_batch_size_on_nulify_orpahn_runner_id_batched_migration' into 'master'

Fix MAX_BATCH_SIZE to match BATCH_SIZE

See merge request gitlab-org/gitlab!82466
parents e3e55584 189d9e76
......@@ -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