Method: Sidekiq::Process#stop!

Defined in:
lib/sidekiq/api.rb

#stop!Object

Signal this process to shutdown. It will shutdown within its configured :timeout value, default 25 seconds. This method is asynchronous and it can take 5-10 seconds for the process to start shutting down.



1184
1185
1186
1187
1188
# File 'lib/sidekiq/api.rb', line 1184

def stop!
  raise "Can't stop an embedded process" if embedded?

  signal("TERM")
end