Module: ConnectionPool::ForkTracker

Included in:
ConnectionPool
Defined in:
lib/connection_pool.rb

Instance Method Summary collapse

Instance Method Details

#_forkObject



71
72
73
74
75
76
77
# File 'lib/connection_pool.rb', line 71

def _fork
  pid = super
  if pid == 0
    ConnectionPool.after_fork
  end
  pid
end