We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The library does not through an error if provided with a string in place of number, as expected for maxRequestsPerInterval field
maxRequestsPerInterval
To Reproduce Steps to reproduce the behavior: Please use the below code to reproduce the behavior
static throttle = throttledQueue("100 // at most 100 requests per second", 1000); let {data} = await throttle(() => { return axios({ method: 'get', url: <URL>, }); });
Expected behavior It should raise an error that input is invalid
Additional context I am fine to raise a PR to fix this issue if allowed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The library does not through an error if provided with a string in place of number, as expected for
maxRequestsPerInterval
fieldTo Reproduce
Steps to reproduce the behavior:
Please use the below code to reproduce the behavior
Expected behavior
It should raise an error that input is invalid
Additional context
I am fine to raise a PR to fix this issue if allowed
The text was updated successfully, but these errors were encountered: