Method: Resque::Worker#shutdown
- Defined in:
- lib/resque/worker.rb
#shutdown ⇒ Object
Schedule this worker for shutdown. Will finish processing the current job.
416 417 418 419 |
# File 'lib/resque/worker.rb', line 416 def shutdown log_with_severity :info, 'Exiting...' @shutdown = true end |