We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我修改了demo代码增加了一个超时等待,接口返回成功,但是事务状态没有更改
[HttpPost("TransOut")] public async Task<IActionResult> TransOut([FromBody] TransRequest body) { await Task.Delay(20000); _logger.LogInformation("TransOut, QueryString={0}", Request.QueryString); _logger.LogInformation("用户: {0},转出 {1} 元---正向操作", body.UserId, body.Amount); return Ok(TransResponse.BuildSucceedResponse()); }
The text was updated successfully, but these errors were encountered:
这个行为就是期待的行为,因为超时没有拿到结果,所以不断地重试
Sorry, something went wrong.
有时候确实会存在超过3秒的行为,那这种情况该如何处理呢?是否可以配置超时时长?
No branches or pull requests
我修改了demo代码增加了一个超时等待,接口返回成功,但是事务状态没有更改
The text was updated successfully, but these errors were encountered: