apache / apache/servicecomb-java-chassis

客户端超时之后,服务端依旧在进行业务处理,直到处理完业务,这个问题有啥解决方法嘛

Open
#3,663 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

现象为客户端请求1秒超时,然后服务端依旧在进行业务处理,如下图客户端设置超时时间为1S,服务端sleep 2s后进行业务处理(模拟长时间业务处理的情况),然后客户端超时之后服务端业务并未中断而是继续进行了下去
![image](https://user-images.githubusercontent.com/20596310/221343264-9e2d09ae-3684-498d-a8fa-9ea7ea1c70f2.png)

![image](https://user-images.githubusercontent.com/20596310/221343163-ed3a3c7b-bf30-4ded-81bc-27706a9dc42e.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.