Commit e705f41d authored by Tiger Watson's avatar Tiger Watson

Apply 1 suggestion(s) to 1 file(s)

parent 8306618c
......@@ -9,8 +9,6 @@ namespace :gitlab do
migrated_projects = 0
ProjectPagesMetadatum.only_on_legacy_storage.each_batch(of: 10) do |batch|
# count will actually be changed after migration, so increment before
batch.preload(project: [:namespace, :route, pages_metadatum: :pages_deployment]).each do |metadatum|
project = metadatum.project
time = Benchmark.realtime do
......
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