fix: raise upload rate limit from 10 to 30 per minute
This commit is contained in:
@@ -32,7 +32,7 @@ export async function uploadRoutes(app: FastifyInstance): Promise<void> {
|
||||
preHandler: authenticate,
|
||||
config: {
|
||||
rateLimit: {
|
||||
max: 10,
|
||||
max: 30,
|
||||
timeWindow: '1 minute',
|
||||
keyGenerator: (request: any) => (request as any).userId || request.ip,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user