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

'synccheck' 请求失败时对其进行重试 #417

Merged
merged 1 commit into from
Jul 16, 2017

Conversation

RoyXiang
Copy link
Contributor

近期在使用 itchat 的衍生项目时,收到不少反馈,微信端会频繁被登出。经观察,原因都是之前在 #248 反馈过的 503 错误。

观察代码发现,只需要在 sync_check 中对异常响应抛出异常,即可在 start_receiving 中自动进行重试。

另外相关 issue: #410

@cwhy
Copy link

cwhy commented Jun 23, 2017

Monkey patch了一下这个,实测有效,之前连续两周撑不到5个小时,修改以后已经连续撑了3天了

@rongwwei
Copy link

我遇到的也是这个问题!频繁登出

@superchaoran
Copy link

6得飞起

@littlecodersh
Copy link
Owner

@RoyXiang 已合入,多谢支持!

@littlecodersh littlecodersh reopened this Jul 16, 2017
@littlecodersh littlecodersh merged commit c84235c into littlecodersh:master Jul 16, 2017
littlecodersh pushed a commit that referenced this pull request Jul 16, 2017
@RoyXiang RoyXiang deleted the sync_check branch July 24, 2017 06:42
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

Successfully merging this pull request may close these issues.

5 participants