-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
部分请求方法会造成无限递归 #1591
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
Comments
你是实际项目运行过程中发现有此问题吗?还只是猜测? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
我们实际项目里面确实在这里出现了无限递归,最后导致微信的调用次数超过限制,我们最后通过链路追踪只能看到不听的递归,而递归只有可能是微信那边返回的错误码就是这里的递归条件,建议这个地方可以完善一下 |
我也遇到了 这个问题 假如获取的token 一直是失效的就导致 这种情况 但其实一般是想尝试一定次数 就直接异常了 这样不会占用服务资源 |
看来出现此问题可能跟具体的配置有关系,如果配置没问题,就不会导致token一直无效,也就不会导致循环递归调用。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
简要描述
在开发过程中发现 BaseWxMpServiceImpl.execute()调用 executeInternal方法 异常内 如果出现指定code会刷新token后调用execute()
而execute()方法终止条件为 为方法变量 int retryTimes = 0; 那么会如果一直出现指定code会造成无限递归
模块版本情况
详细描述
The text was updated successfully, but these errors were encountered: