Merge branch 'main' of https://git.fondemi.gob.ve/Fondemi/sistema_base
This commit is contained in:
@@ -8,17 +8,17 @@ import { ThrottlerModule } from '@nestjs/throttler';
|
||||
{
|
||||
name: 'short',
|
||||
ttl: 1000, // 1 sec
|
||||
limit: 2,
|
||||
limit: 10,
|
||||
},
|
||||
{
|
||||
name: 'medium',
|
||||
ttl: 10000, // 10 sec
|
||||
limit: 4,
|
||||
limit: 30,
|
||||
},
|
||||
{
|
||||
name: 'long',
|
||||
ttl: 60000, // 1 min
|
||||
limit: 10,
|
||||
limit: 100,
|
||||
},
|
||||
],
|
||||
errorMessage: 'Too many requests, please try again later.',
|
||||
|
||||
Reference in New Issue
Block a user