Module: Qwirk::Batch::JobStatus
- Included in:
- ActiveRecord::BatchJob
- Defined in:
- lib/qwirk/batch/job_status.rb
Constant Summary collapse
- INITED =
Job has been acquired but is not yet running
'Inited'
- RUNNING =
Job is currently running
'Running'
- PAUSED =
Job has paused because the worker has been commanded to stop
'Paused'
- CANCELED =
A client has canceled the job
'Canceled'
- ABORTED =
The job has been aborted due to threshold constraints (too many record failures)
'Aborted'
- FINISHED =
The job has finished
'Finished'
- STATUSES =
[INITED, RUNNING, PAUSED, CANCELED, ABORTED, FINISHED].freeze