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

请问为什么超时也不会进入重试机制? #1001

Open
beiming-coder opened this issue Sep 18, 2022 · 1 comment
Open

请问为什么超时也不会进入重试机制? #1001

beiming-coder opened this issue Sep 18, 2022 · 1 comment

Comments

@beiming-coder
Copy link

请问为什么超时也不会进入重试机制?
请问为什么提供者抛出非RuntimeException也不会进入重试?

@rayzhang0603
Copy link
Collaborator

重试需要配置retries参数,表示重试次数,默认为0不重试,配置为1表示最大会重试1次。

超时或者框架异常都会进行重试,但是server端抛出的业务异常属于业务逻辑,不会进行重试,会直接抛出给client侧自行处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants