Method: Exekutor::Job#release!
- Defined in:
- lib/exekutor/job.rb
#release! ⇒ Object
Sets the status to pending and clears the assigned worker
16 17 18 |
# File 'lib/exekutor/job.rb', line 16 def release! update! status: "p", worker_id: nil end |