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',
|
name: 'short',
|
||||||
ttl: 1000, // 1 sec
|
ttl: 1000, // 1 sec
|
||||||
limit: 2,
|
limit: 10,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'medium',
|
name: 'medium',
|
||||||
ttl: 10000, // 10 sec
|
ttl: 10000, // 10 sec
|
||||||
limit: 4,
|
limit: 30,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'long',
|
name: 'long',
|
||||||
ttl: 60000, // 1 min
|
ttl: 60000, // 1 min
|
||||||
limit: 10,
|
limit: 100,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
errorMessage: 'Too many requests, please try again later.',
|
errorMessage: 'Too many requests, please try again later.',
|
||||||
|
|||||||
Reference in New Issue
Block a user