1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Fix example for on_worker_boot

This commit is contained in:
Rafael França 2020-05-15 14:03:31 -04:00 committed by GitHub
parent 91e57f4e17
commit 40f9b44434
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -443,8 +443,8 @@ module Puma
#
# @note Cluster mode only.
# @example
# on_worker_fork do
# puts 'Before worker fork...'
# on_worker_boot do
# puts 'Before worker boot...'
# end
def on_worker_boot(&block)
@options[:before_worker_boot] ||= []