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

Overriding the backoff strategy with SetRetryStrategy has no effect #991

Open
ubersan opened this issue Mar 24, 2025 · 0 comments
Open

Overriding the backoff strategy with SetRetryStrategy has no effect #991

ubersan opened this issue Mar 24, 2025 · 0 comments

Comments

@ubersan
Copy link

ubersan commented Mar 24, 2025

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?

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

No branches or pull requests

1 participant