Skip to content

Commit

Permalink
move file conversion onto performance queue
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Jun 27, 2024
1 parent 691a1db commit 9123de6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/jobs/analysis/file_conversion_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ class NonManifoldError < StandardError
end

class Analysis::FileConversionJob < ApplicationJob
queue_as :analysis
queue_as :performance

discard_on UnsupportedFormatError
discard_on MeshLoadError
discard_on NonManifoldError

def perform(file_id, output_format)
# Can we output this format?
Expand Down

0 comments on commit 9123de6

Please sign in to comment.