-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Context lost after making the first call to odbc #18
Comments
Thanks for the detailed info! 😃 As I have been looking into these types of issues (context being lost in certain scenarios) I have been looking at the issues in both It looks like many of the consumers of async_hooks and it's dependencies are seeing issues with loss of context and we're doing what we can to try to get it working for everyone. Information like you have provided really helps, so again, thank you! |
Hi @skonves . Can you help us with an example as requested wankdanker/node-odbc#37 (comment) |
@skonves shouldn’t odbc and mysql be added to that list of modules that break the async hooks? |
Is there any news/workarounds on making it work with mongoose? |
Still having the same issue with mongoose |
same issue when playing with redis as well, context turned |
Short of implementing these modules with support for CLS, there is no way to ensure request tracking will work once these modules have been called. |
I have write a tidy npm package http-request-context to do this, using async_hooks, u can try it. |
My environment is
RedHat Enterprise Linux 7.2 (maipo)
Node: 6.9.1
npm: 5.6.0
express-http-context: 1.0.4 (have tried 1.0.0 as well)
The text was updated successfully, but these errors were encountered: