-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async_hooks: merge resource_symbol with owner_symbol #38468
async_hooks: merge resource_symbol with owner_symbol #38468
Conversation
cc @addaleax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but definitely want @addaleax's look as well
Signed-off-by: Darshan Sen <[email protected]>
aa99773
to
8fa2b28
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
I know that the constructor name checks may seem a bit icky here, but I think in the big picture doing this is definitely worth it 👍
This comment has been minimized.
This comment has been minimized.
cc @nodejs/async_hooks if anyone else would also like to take a look. |
Landed in 7ca2f13 |
Signed-off-by: Darshan Sen <[email protected]> PR-URL: #38468 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Signed-off-by: Darshan Sen <[email protected]> PR-URL: #38468 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
This breaks AsyncLocalStorage for TCP/TLS sockets. See #40693. |
As per this TODO comment:
node/lib/internal/async_hooks.js
Lines 182 to 183 in 6ca785b