Skip to content

Commit

Permalink
fix: revert delay in sidekiq pdf generation
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Aug 29, 2024
1 parent 0046562 commit 904ca34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ def accept_submission(current_user, files, ui, contributions, trigger, alignment
logger.info "Submission accepted! Status for task #{id} is now #{trigger}"

# Trigger processing of new submission - async
AcceptSubmissionJob.perform_in(5.seconds, id, current_user.id, accepted_tii_eula)
AcceptSubmissionJob.perform_async(id, current_user.id, accepted_tii_eula)
end

# The name that should be used for the uploaded file (based on index of upload requirements)
Expand Down

0 comments on commit 904ca34

Please sign in to comment.