Closed lpelorosso closed 5 months ago
This is correct. It is expected behavior by design.
It could be better. And https://github.com/aishek/axios-rate-limit/pull/39/files solves the problem. I think about adopting the algorithm from there in future versions.
If you run this:
It will perform the three requests, and then the application will continue running for 20 seconds until the internal timeout is up.