Skip to content
New issue

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

perf: 公共Http请求组件支持针对Http状态码进行重试 #3342

Open
jsonwan opened this issue Dec 18, 2024 · 0 comments
Open

perf: 公共Http请求组件支持针对Http状态码进行重试 #3342

jsonwan opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
backlog 需求初始状态,等待产品进行评估 kind/enhancement 功能改进特性

Comments

@jsonwan
Copy link
Collaborator

jsonwan commented Dec 18, 2024

当前的重试依赖HttpClient自身的重试逻辑,只会针对发生IOException的请求进行重试,而实际上层业务需要根据业务具体逻辑(接口是否幂等)及响应的Http状态码来对5xx等异常请求进行重试,HttpClient的原生重试逻辑无法满足,需要自行在公共组件层实现。

@jsonwan jsonwan added kind/enhancement 功能改进特性 backlog 需求初始状态,等待产品进行评估 labels Dec 18, 2024
@jsonwan jsonwan self-assigned this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog 需求初始状态,等待产品进行评估 kind/enhancement 功能改进特性
Projects
None yet
Development

No branches or pull requests

1 participant