feat: add throttler

This commit is contained in:
2026-11-06 18:32:48 +03:30
parent 71ce020803
commit 2051090d3d
10 changed files with 16 additions and 18 deletions
@@ -21,7 +21,7 @@ import { Throttle } from '@nestjs/throttler';
@Controller('admin/tests')
@Roles(Role.SUPERUSER, Role.ADMIN)
@Throttle({ admin: {} })
@Throttle({ default: { limit: 120, ttl: 60_000 } })
export class AdminTestsController {
constructor(
/**