class Puma::DSL

def on_thread_start(&block)


end
puts 'On thread start...'
on_thread_start do
@example

This can be called multiple times to add several hooks.

This hook is useful for doing something when the thread pool grows.

Raising an exception will log a warning.
Return values are ignored.

the threadpool until the provided block returns.
probably a request will have to wait too! The new thread will not be added to
pool. Be careful: while the block executes, thread creation is delayed, and
Provide a block to be executed just before a thread is added to the thread
def on_thread_start(&block)
  process_hook :before_thread_start, nil, block, 'on_thread_start'
end