Skip to content

Commit

Permalink
Properly mark 3MF conversions as finished
Browse files Browse the repository at this point in the history
Resolves #3169
  • Loading branch information
Floppy committed Nov 18, 2024
1 parent 8ad3e67 commit 24e3276
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/jobs/analysis/file_conversion_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,12 @@ def perform(file_id, output_format)
:non_manifold,
true
)
ensure
if file
# Mark inefficient problem resolution as no longer in progress, if it's set
file.problems.where(category: :inefficient, in_progress: true).find_each do |x|
x.update(in_progress: false)
end
end
end
end

0 comments on commit 24e3276

Please sign in to comment.