Skip to content

Commit

Permalink
Fix Task.indeterminate setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Dec 13, 2023
1 parent 3ba8512 commit d8c7108
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/jobs/sleep_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def perform(**args)
duration = args[:duration].to_i
self.task = args[:task]
self.task&.update!(name: self.class.name,
indeterminate: true,
queue: QUEUE,
job_id: self.job_id,
started_at: Time.now,
Expand Down

0 comments on commit d8c7108

Please sign in to comment.