1
0
Fork 0
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:
Roman Simecek 2015-01-13 09:44:14 +01:00
parent 12c4c2d222
commit 42a061fb53

View file

@ -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)