lib/elastic_apm/agent.rb in elastic-apm-4.1.0 vs lib/elastic_apm/agent.rb in elastic-apm-4.2.0
- old
+ new
@@ -278,11 +278,11 @@
end
def detect_forking!
return if @pid == Process.pid
- config.logger.debug "Forked process detected,
- restarting threads in process [PID:#{Process.pid}]"
+ config.logger.debug(
+ "Forked process detected, restarting threads in process [PID:#{Process.pid}]")
central_config.handle_forking!
transport.handle_forking!
instrumenter.handle_forking!
metrics.handle_forking!