Просмотр исходного кода

Merge pull request #29695 from overleaf/change-auto-compile-rate-limit

Change auto compile rate limit

GitOrigin-RevId: 9f689c4811ad03ebbbc8cf0abb5f0ac867356873
Anna Claire Fields 8 месяцев назад
Родитель
Сommit
49e8d0c551
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      services/web/app/src/router.mjs

+ 2 - 2
services/web/app/src/router.mjs

@@ -91,8 +91,8 @@ const rateLimiters = {
     duration: 60,
   }),
   compileProjectHttp: new RateLimiter('compile-project-http', {
-    points: 800,
-    duration: 60 * 60,
+    points: 200,
+    duration: 10 * 60,
   }),
   confirmEmail: new RateLimiter('confirm-email', {
     points: 10,