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

[FEATURE] Failfast for explicit error http request instead of retrying #296

Closed
larry4xie opened this issue Dec 27, 2023 · 0 comments
Closed
Assignees

Comments

@larry4xie
Copy link
Contributor

larry4xie commented Dec 27, 2023

  • 请求 apollo 服务端返回的有些 status code 可以判断为错误请求,进行 Failfast 可能比重试阻塞(5 * 2 = 10s)更合理,比如 ns 不存在导致的 404,或者 access_key 导致的 401 等
  • apollo status code 说明文档:Error Code Description
larry4xie added a commit to larry4xie/agollo that referenced this issue Dec 28, 2023
larry4xie added a commit to larry4xie/agollo that referenced this issue Dec 29, 2023
mergify bot added a commit that referenced this issue Dec 30, 2023
Failfast for explicit error http request instead of retrying (#296)
zouyx pushed a commit that referenced this issue Mar 27, 2024
zouyx pushed a commit that referenced this issue Mar 27, 2024
Failfast for explicit error http request instead of retrying (#296)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants