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

希望作者支持一下动态重试? #1141

Open
sparrow-ez opened this issue Dec 28, 2023 · 3 comments
Open

希望作者支持一下动态重试? #1141

sparrow-ez opened this issue Dec 28, 2023 · 3 comments

Comments

@sparrow-ez
Copy link

因为很多网站现在有限流规则,比如一秒钟请求次数超过5次,就返回500错误或者去其他状态码。能不能改下源码,增加一个重试策略,变成像scrapy一样,第一次隔1秒,第二次2秒第三次5秒...这种递增式动态retry

@hooyantsing
Copy link
Contributor

的确是一个实用的特性

1 similar comment
@hackeryutu
Copy link

的确是一个实用的特性

@hackeryutu
Copy link

希望作者可以将doCycleRetry改成protect访问级别,外部可以重写这个方法改变行为。

比如重试三次之后还是失败就没然后了, 我想通过改写这个方法做一些通知

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

No branches or pull requests

3 participants