Skip to content

Commit

Permalink
Fix rocrate collection total
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Sep 8, 2024
1 parent c02bcf8 commit fbfc0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/rocrate.rake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace :rocrate do
Collection.find_in_batches do |batch|
jobs = batch.map { |collection| CatalogMetadataJob.new(collection, false) }
ActiveJob.perform_all_later(jobs)
total += 1
total += batch.size
end

puts "Generated ro-crate metadata jobs for #{total} collections and saved to S3"
Expand Down

0 comments on commit fbfc0c0

Please sign in to comment.