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: add retry logic to like ranking command #81

Merged
merged 3 commits into from
Jan 28, 2024
Merged

Conversation

Leizhenpeng
Copy link
Contributor

@Leizhenpeng Leizhenpeng commented Jan 28, 2024

Introduced a retry mechanism

In case of failure, there is now a 1-second interval before attempting a retry.
If the same post encounters an error for three consecutive times, the system will trigger an error and exit.

closes #80

Copy link

stackblitz bot commented Jan 28, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sxzz sxzz changed the title feat: add retry logic to like ranking command(#80) feat: add retry logic to like ranking command Jan 28, 2024
@sxzz sxzz enabled auto-merge (squash) January 28, 2024 11:06
@sxzz sxzz merged commit 1e8fd36 into open-jike:main Jan 28, 2024
5 checks passed
@sxzz
Copy link
Member

sxzz commented Jan 28, 2024

Released as v0.10.1

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.

由于 like-rank 子命令 需要循环访问所有帖子来获取用户,经常429报错
2 participants