fix: raise upload rate limit from 10 to 30 per minute

This commit is contained in:
Jannis Braun
2026-03-23 02:55:00 +01:00
parent 9a5e613331
commit 58f6fb1baa
+1 -1
View File
@@ -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,
},