Module: NATS::ForkTracker
- Included in:
- NATS
- Defined in:
- lib/nats/io/client.rb
Instance Method Summary collapse
Instance Method Details
#_fork ⇒ Object
89 90 91 92 93 |
# File 'lib/nats/io/client.rb', line 89 def _fork super.tap do |pid| Client.after_fork if pid.zero? # in the child process end end |