-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDKType: Improvement
Description
In #1795 the transports changed from keepAlive: true
to keepAlive: false
. The reason had to do with memory leaks in old versions of Node.
keepAlive: false
is undesirable because it incurs more overhead (re-)establishing TCP connections instead of keeping idle connections in the pool.
https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_class_http_agent
I propose we set keepAlive: true
, at least for recent versions of Node.
jdolle, tjk, benasher44, ratmie and andrewchen30
Metadata
Metadata
Assignees
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDKType: Improvement