mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Merge pull request #2266 from rafaelfranca/patch-1
Fix example for on_worker_boot
This commit is contained in:
commit
5d02e45df5
1 changed files with 2 additions and 2 deletions
|
@ -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] ||= []
|
||||
|
|
Loading…
Add table
Reference in a new issue