Skip to content

Commit

Permalink
fix call to additional workers
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Apr 27, 2023
1 parent 4580b39 commit c81c4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/ons_download_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def perform(url)
)
# TODO: check response.etag (if false, upload failed somehow?)
# TODO: Kick off OnsImportWorker for the file
# OnsImportWorker.perform_async(s3_key_name)
# OnsImportWorker.new.perform_async(s3_key_name)
puts "Added #{entry.name} to S3 bucket as #{s3_key_name}"
rescue StandardError => e
puts "Error extracting and uploading object #{e.message}"
Expand Down

0 comments on commit c81c4d6

Please sign in to comment.