节点MongoDB驱动程序中删除了域可启用客户端选项4.0
节点mongodb本地驱动程序版本3.7提供domainsEnabled
连接选项(如 3.7文档)
启用回调在当前域中的包装,默认情况下禁用以避免perf命中
但是,我在 4.0版本
为什么将其删除?有能力与4.0具有相同的功能吗?
谢谢!
Node mongodb native driver version 3.7 provides a domainsEnabled
connection option (as described in 3.7 documentation)
Enable the wrapping of the callback in the current domain, disabled by default to avoid perf hit
However, I don't find a similar option in 4.0 release
Why has it been removed? Is there any workaround to have the same functionality with 4.0?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论