We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AccessToken被存到了Api实例属性里,但是Api实例属性没有超时时间,导致常驻进程实例化一次后,accessToken就被赋值了,过期了也不会重新刷新,此时用过期的accessToken请求微信api,返回错误代码42001。42001不会触发重新刷accessToken的操作,但是如果触发刷新accessToken的操作,在多进程环境下,会变成竞争不断刷新accessToken的情况。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AccessToken被存到了Api实例属性里,但是Api实例属性没有超时时间,导致常驻进程实例化一次后,accessToken就被赋值了,过期了也不会重新刷新,此时用过期的accessToken请求微信api,返回错误代码42001。42001不会触发重新刷accessToken的操作,但是如果触发刷新accessToken的操作,在多进程环境下,会变成竞争不断刷新accessToken的情况。
The text was updated successfully, but these errors were encountered: