Closed gruijter closed 4 years ago
Ah wait, I now see the retry time is in seconds, not milliseconds.
So actually the retry is working!
Problem now is that it keeps retrying indefinitely when the rate limit is exceeded. I would like to have a limit on the number of retries. I.e. the promise rejects if after e.g. 3 retries it still does not succeed.
Is that possible? If not: please consider this as a feature request for maximum retries :)
hey @gruijter ! You're right, it's not possible now to make retry countdown. Sounds like a good feature request, thanks!
Rate limiting works, but retry doesn't. Why not? The
makeRequest
is a function that returns a promise. I do get the 'CONCURRENCY_LIMIT_EXCEEDED' sometimes, but retry is not executed.