about summary refs log tree commit diff
path: root/app/lib/rate_limiter.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-04-06 21:44:34 +0200
committerGitHub <noreply@github.com>2020-04-06 21:44:34 +0200
commitc47be5bd864a1f5244f35122ba7fae31a149c73d (patch)
treec8e9e95a36ffb2346e3168d00364e4b614bee92a /app/lib/rate_limiter.rb
parent6e426267a762f3cd1efa2c5fb120a13543567775 (diff)
parent9101254d0a70bc6f899c093f33300cffceb7c8ac (diff)
Merge pull request #1312 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/lib/rate_limiter.rb')
-rw-r--r--app/lib/rate_limiter.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/lib/rate_limiter.rb b/app/lib/rate_limiter.rb
index 68dae9add..0e2c9a894 100644
--- a/app/lib/rate_limiter.rb
+++ b/app/lib/rate_limiter.rb
@@ -14,9 +14,9 @@ class RateLimiter
       period: 3.hours.freeze,
     }.freeze,
 
-    media: {
-      limit: 30,
-      period: 30.minutes.freeze,
+    reports: {
+      limit: 400,
+      period: 24.hours.freeze,
     }.freeze,
   }.freeze