You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, not sure this is an issue, but I discovered that connection._socket will maintain a link to the domain that was active when the connection was first utilized. Since we usually use a connection pool its very likely that the domain in question is no longer valid but the socket is still referencing it. My suggestion would be to bind the connect method to the domain that was active when the connection was created.
The text was updated successfully, but these errors were encountered:
I have never used domains, rather the current implementation was donated via a PR :) Domains in Node.js have been deprecated for a while (https://nodejs.org/api/domain.html), so I'm not sure if this is a bug in domains themselves or here. Please feel free to provide a PR.
Hi, not sure this is an issue, but I discovered that
connection._socket
will maintain a link to the domain that was active when the connection was first utilized. Since we usually use a connection pool its very likely that the domain in question is no longer valid but the socket is still referencing it. My suggestion would be to bind the connect method to the domain that was active when the connection was created.The text was updated successfully, but these errors were encountered: