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

feat: 429报错自动重试 #273

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

HuangHongkai
Copy link

@HuangHongkai HuangHongkai commented Jun 26, 2023

使用多人共享账号经常出现以下报错 Only one message at a time. Please allow any other responses to complete before sending another message, or wait one minute. 需要手动重试多次才可以使用
image
本PR增加自动重试功能,重试策略为1秒一次,最多重试20次,解决后控制台大概是这样
image
@xcanwin

@HuangHongkai HuangHongkai force-pushed the main branch 2 times, most recently from 1996f5f to e61e3c0 Compare June 26, 2023 12:16
@xcanwin
Copy link
Owner

xcanwin commented Jun 26, 2023

谢谢提交pr,这方面不建议自动化,有时候除了频繁重试还可以清理所有cookie即可解决。
频繁重试容易导致魔法被封或者账号被封,被封的感觉会比人工排障429来的更难受。

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.

2 participants