Skip to content

Commit

Permalink
Add run in background
Browse files Browse the repository at this point in the history
  • Loading branch information
iHiD committed Oct 18, 2023
1 parent 1850e51 commit 5f6f00a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/commands/submission/analysis/init.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
class Submission::Analysis::Init
include Mandate

initialize_with :submission
initialize_with :submission, run_in_background: false

def call
ToolingJob::Create.(submission, :analyzer)
ToolingJob::Create.(
submission, :analyzer,
run_in_background:
)
submission.analysis_queued!
end
end

0 comments on commit 5f6f00a

Please sign in to comment.