From 573fb05d950b56ab5fedf93a04b962f873cdf910 Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Mon, 16 Dec 2024 18:07:32 +0100 Subject: [PATCH] Add note on retries to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index baa9ba21..398a5bad 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ end ### Rate limiting -Amazon’s Selling Partner API (SP-API) imposes [rate limits][rate-limits] on most operations. Peddler respects these limits and automatically backs off when throttled. To override the default rate limit, pass a `:rate_limit` argument when running an operation. +Amazon’s Selling Partner API (SP-API) imposes [rate limits][rate-limits] on most operations. Peddler respects these limits and automatically backs off when throttled. You can override the default rate limit by passing a `:rate_limit` to the operation. You can also provide an optional `:tries` argument to specify the number of request attempts, including retries, before giving up. By default, we retry once. **Note:** This functionality requires version 6 of the underlying [HTTP library][httprb]. As of writing, this is not released yet. To use rate limiting, point to their main branch on GitHub.