Module: Bundler::ConnectionPool::ForkTracker

Included in:
Bundler::ConnectionPool
Defined in:
lib/bundler/vendor/connection_pool/lib/connection_pool.rb

Instance Method Summary collapse

Instance Method Details

#_forkObject



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

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