SqlConnection ExecuteAsync在Linux上挂起,但在Windows上不挂起

问题描述 投票:0回答:1

ASP.Net核心

我有比电话要的代码var resp = await conn.ExecuteAsync("procedureName", sqlParams, commandType: CommandType.StoredProcedure).ConfigureAwait(false)

当我在Windows计算机上启动应用程序时-一切正常。但是,当我在Linux上部署它时,执行将挂在执行此ExecuteAsync方法上。当我从Masstransit使用者调用我的代码时,就会发生这种情况,并且并不是每一个请求都会发生。为什么会有不同

linux hang masstransit sqlcommand
1个回答
0
投票

您是否正在运行引用相同数据库环境的应用程序?

© www.soinside.com 2019 - 2024. All rights reserved.