Skip to content

Overriding the backoff strategy with SetRetryStrategy has no effect #991

Open
@ubersan

Description

@ubersan

I followed the example in the docs here: https://resty.dev/docs/retry-mechanism/#constant-delay to get a constant delay. But looking at the code, the strategy doesn't seem to be used anywhere, instead the default jitter backoff is hard coded: https://github.com/go-resty/resty/blob/v3/request.go#L1379-L1381

Or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions