method
shutdown
v8.0.0 -
Show latest stable
- Class:
ActiveJob::QueueAdapters::AsyncAdapter
shutdown(wait: true)public
Gracefully stop processing jobs. Finishes in-progress work and handles any new jobs following the executor’s fallback policy (`caller_runs`). Waits for termination by default. Pass `wait: false` to continue.