Reduce agent CPU overhead by omitting
The change to
setImmediatemakes that function behave the same way as
nextTickand other frequently-called functions that are already elided from Transaction Traces.
Mitigate a Node.js memory leak that can occur during TLS connections.
There is an outstanding Node.js Core memory leak involving TLS connections. Clients specifying certificates, such as the New Relic Agent, quickly reveal this leak. We now mitigate this issue by using the default client certificates where possible. A new log message will be printed when the TLS memory leak workaround can not be used, such as when using a custom certificate with an HTTPS proxy.