Skip to content

Commit 545d285

Browse files
committed
Set queue name directly to avoid duplicated prefix
1 parent b81b6f8 commit 545d285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/characterize_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def perform(file_set, file_id, filepath = nil, derivation_path = nil, delete_cha
1919
file_set.update_index
2020
file_set.parent&.in_collections&.each(&:update_index)
2121
derivation_path = filepath unless derivation_path && File.exist?(derivation_path)
22-
CreateDerivativesJob.set(queue: queue_name).perform_later(file_set, file_id, derivation_path)
22+
CreateDerivativesJob.set(queue: 'derivatives').perform_later(file_set, file_id, derivation_path)
2323
unlink_filepath(filepath, delete_characterization_path.to_s) if delete_characterization_path
2424
end
2525

0 commit comments

Comments
 (0)