Skip to content

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

Description

@sparrow-ez

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

Activity

  1. hooyantsing commented on Dec 29, 2023

    @hooyantsing
    Contributor

    的确是一个实用的特性

  2. hackeryutu commented on Jan 10, 2024

    @hackeryutu

    的确是一个实用的特性

  3. hackeryutu commented on Jan 19, 2024

    @hackeryutu

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions