Skip to content

Commit

Permalink
Set queue name directly to avoid duplicated prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpierce committed Jun 27, 2023
1 parent b81b6f8 commit 545d285
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 545d285

Please sign in to comment.