Sfoglia il codice sorgente

Merge pull request #3172 from overleaf/hb-increase-file-upload-timeout

Decrease rate limit time for file uploads to every 15m instead of 30m

GitOrigin-RevId: 672cfcd61d8531f4519250fbe02d80fb4aeaccfc
Timothée Alby 6 anni fa
parent
commit
c95b325de4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      services/web/app/src/Features/Uploads/UploadsRouter.js

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

@@ -23,7 +23,7 @@ module.exports = {
       endpointName: 'file-upload',
       params: ['Project_id'],
       maxRequests: 200,
-      timeInterval: 60 * 30
+      timeInterval: 60 * 15
     })
     if (Settings.allowAnonymousReadAndWriteSharing) {
       webRouter.post(