Open hcminh opened 3 months ago
up!
@cleytonchagasbr please avoid '+1' comments. If you agree with the issue, use the :+1: reaction instead.
Please provide a minimum reproduction repository (Git repository/StackBlitz/CodeSandbox project).
I am facing the same issue
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