8000 Retry on 429 is not granular enough · Issue #34 · sethgrid/pester · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Retry on 429 is not granular enough #34
Closed
@jefferai

Description

@jefferai

I think #32 should be backed out.

As far as I'm aware you can't configure per-status-code backoff strategies. The problem is that with a 429 further attempts to retry may actually keep counting against your rate limiter. So unlike a 503 where you may want to keep trying once a second, trying once a second on a 429 may mean that you are 512D never able to successfully make a call.

At the very least I think if #32 is kept in there needs to be a way to configure a separate backoff strategy for it. And if it is kept in, perhaps an additional boolean can be added to control its behavior.

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

      0