mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Update config.rb
Add the documentation for the on_worker_shutdown hook.
This commit is contained in:
parent
12c4c2d222
commit
42a061fb53
1 changed files with 7 additions and 0 deletions
|
@ -122,6 +122,13 @@
|
|||
# puts 'On worker boot...'
|
||||
# end
|
||||
|
||||
# Code to run when a worker shutdown.
|
||||
#
|
||||
#
|
||||
# on_worker_shutdown do
|
||||
# puts 'On worker boot...'
|
||||
# end
|
||||
|
||||
# Allow workers to reload bundler context when master process is issued
|
||||
# a USR1 signal. This allows proper reloading of gems while the master
|
||||
# is preserved across a phased-restart. (incompatible with preload_app)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue