summaryrefslogtreecommitdiff
path: root/db/post_migrate/20180430161409_migrate_legacy_artifacts_to_job_artifacts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20180430161409_migrate_legacy_artifacts_to_job_artifacts.rb')
-rw-r--r--db/post_migrate/20180430161409_migrate_legacy_artifacts_to_job_artifacts.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/post_migrate/20180430161409_migrate_legacy_artifacts_to_job_artifacts.rb b/db/post_migrate/20180430161409_migrate_legacy_artifacts_to_job_artifacts.rb
index 01f67e48de1..0eeaf0d4a0a 100644
--- a/db/post_migrate/20180430161409_migrate_legacy_artifacts_to_job_artifacts.rb
+++ b/db/post_migrate/20180430161409_migrate_legacy_artifacts_to_job_artifacts.rb
@@ -35,10 +35,10 @@ class MigrateLegacyArtifactsToJobArtifacts < ActiveRecord::Migration
MigrateLegacyArtifactsToJobArtifacts::Build
.with_legacy_artifacts.without_new_artifacts.tap do |relation|
- queue_background_migration_jobs_by_range_at_intervals(relation,
- MIGRATION,
- 5.minutes,
- batch_size: BATCH_SIZE)
+ queue_background_migration_jobs_by_list_at_intervals(relation,
+ MIGRATION,
+ 5.minutes,
+ batch_size: BATCH_SIZE)
end
remove_concurrent_index_by_name(:ci_builds, TMP_INDEX)