diff options
Diffstat (limited to 'db/post_migrate/20220223112304_schedule_nullify_orphan_runner_id_on_ci_builds.rb')
-rw-r--r-- | db/post_migrate/20220223112304_schedule_nullify_orphan_runner_id_on_ci_builds.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/post_migrate/20220223112304_schedule_nullify_orphan_runner_id_on_ci_builds.rb b/db/post_migrate/20220223112304_schedule_nullify_orphan_runner_id_on_ci_builds.rb index c62f459d270..e4005885c3b 100644 --- a/db/post_migrate/20220223112304_schedule_nullify_orphan_runner_id_on_ci_builds.rb +++ b/db/post_migrate/20220223112304_schedule_nullify_orphan_runner_id_on_ci_builds.rb @@ -3,9 +3,9 @@ class ScheduleNullifyOrphanRunnerIdOnCiBuilds < Gitlab::Database::Migration[1.0] MIGRATION = 'NullifyOrphanRunnerIdOnCiBuilds' INTERVAL = 2.minutes - BATCH_SIZE = 100_000 - MAX_BATCH_SIZE = 100_000 # 100k * 25k = 2.5B ci_builds - SUB_BATCH_SIZE = 1_000 + BATCH_SIZE = 50_000 + MAX_BATCH_SIZE = 150_000 + SUB_BATCH_SIZE = 500 def up queue_batched_background_migration( |