Skip to content

Commit

Permalink
Merge pull request #552 from IU-Libraries-Joint-Development/essi-1830
Browse files Browse the repository at this point in the history
ESSI-1830 Set queue name directly to avoid duplicated prefix
  • Loading branch information
dlpierce authored Jun 27, 2023
2 parents 2b65bb9 + 545d285 commit 6c2e056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/characterize_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def perform(file_set, file_id, filepath = nil, derivation_path = nil, delete_cha
file_set.update_index
file_set.parent&.in_collections&.each(&:update_index)
derivation_path = filepath unless derivation_path && File.exist?(derivation_path)
CreateDerivativesJob.set(queue: queue_name).perform_later(file_set, file_id, derivation_path)
CreateDerivativesJob.set(queue: 'derivatives').perform_later(file_set, file_id, derivation_path)
unlink_filepath(filepath, delete_characterization_path.to_s) if delete_characterization_path
end

Expand Down

0 comments on commit 6c2e056

Please sign in to comment.