【发布时间】:2018-10-27 03:15:50
【问题描述】:
我使用https://github.com/jeff-lewis/cls-hooked 来跨异步回调保留执行上下文。我看到上下文在请求的生命周期内下降。
我知道 https://github.com/nodejs/diagnostics/blob/master/tracing/AsyncHooks/problematic-modules.md 模块会破坏异步连续性。
如何找出哪些其他模块破坏了我的异步连续性? 该应用程序是基于 express 的 node.js 服务器。
【问题讨论】:
标签: node.js express socket.io node-local-storage continuation-local-storag