module QueueKit::GracefulQuit

Public Instance Methods

trap_INT(worker)
Alias for: trap_TERM
trap_TERM(worker) click to toggle source
# File lib/queue_kit/signal_handlers/graceful_quit.rb, line 7
def trap_TERM(worker)
  worker.stop
end
Also aliased as: trap_INT