Ver código fonte

Increase the file upload rate limit from 200 to 500 per 15 mins (#24312)

GitOrigin-RevId: e57cc9f8dc12d40ce30eba0ef8067dd3ae72f3ea
Alf Eaton 1 ano atrás
pai
commit
67a6857ca6

+ 1 - 1
services/web/app/src/Features/Uploads/UploadsRouter.mjs

@@ -11,7 +11,7 @@ const rateLimiters = {
     duration: 60,
     duration: 60,
   }),
   }),
   fileUpload: new RateLimiter('file-upload', {
   fileUpload: new RateLimiter('file-upload', {
-    points: 200,
+    points: 500,
     duration: 60 * 15,
     duration: 60 * 15,
   }),
   }),
 }
 }