Skip to content

Commit

Permalink
test: update throttler
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciuscosmome authored Jan 27, 2024
1 parent d7fbb52 commit 0fdae02
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/config/throttler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ import { ThrottlerOptions, ThrottlerModuleOptions } from '@nestjs/throttler';

export const throttlers: Array<ThrottlerOptions> = [
{
ttl: 1000,
limit: 3,
},
{
ttl: 10000,
limit: 20,
ttl: 20000,
limit: 1000,
},
];

Expand Down

0 comments on commit 0fdae02

Please sign in to comment.