File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/puma-6.1.0/ri/Puma/DSL/before_fork-i.ri
U:RDoc::AnyMethod[iI"before_fork:ETI"Puma::DSL#before_fork;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"3Code to run immediately before master process ;TI"Fforks workers (once on boot). These hooks can block if necessary ;TI"Hto wait for background operations unknown to Puma to finish before ;TI"the process terminates. ;TI"LThis can be used to close any connections to remote servers (database, ;TI";Redis, ...) that were opened when preloading the code.;To:RDoc::Markup::BlankLine o;
; [I"<This can be called multiple times to add several hooks.;T@o;
; [I"@note Cluster mode only. ;TI"
@example;To:RDoc::Markup::Verbatim; [I"before_fork do
;TI"" puts "Starting workers..."
;TI"end;T:@format0:
@fileI"lib/puma/dsl.rb;T:0@omit_headings_from_table_of_contents_below000[ I"
(&block);T@ FI"DSL;TcRDoc::NormalClass00