You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have jumped to node_modules/nestjs/throttler to debug with console.log and found out that the throttlerStorage was not storing any upcoming requests. For any new request, function this.storage.get(key) always return undefined
the output log is
Expected behavior
The request should be stored and should throw ThrottlerError
Package version
6.0.0
NestJS version
10.3.3
Node.js version
v18.20.2
In which operating systems have you tested?
macOS
Windows
Linux
Other
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current behavior
I have followed this official document to install @nestjs/throttler. But it not working with the following config
app.module.ts
app.controller.ts
The response header I get overtime is
Minimum reproduction code
n/a
Steps to reproduce
I have jumped to node_modules/nestjs/throttler to debug with console.log and found out that the throttlerStorage was not storing any upcoming requests. For any new request, function
this.storage.get(key)
always return undefinedthe output log is
Expected behavior
The request should be stored and should throw ThrottlerError
Package version
6.0.0
NestJS version
10.3.3
Node.js version
v18.20.2
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: