Module: Tanker::Http::ThreadPool::ForkHook

Defined in:
lib/tanker/core/http.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.installObject



120
121
122
# File 'lib/tanker/core/http.rb', line 120

def self.install
  Process.singleton_class.prepend(self)
end

Instance Method Details

#_fork(*args) ⇒ Object



115
116
117
118
# File 'lib/tanker/core/http.rb', line 115

def _fork(*args)
  ThreadPool.before_fork
  super
end