about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-09-06 02:59:26 -0500
committermultiple creatures <dev@multiple-creature.party>2019-09-06 02:59:26 -0500
commit86bec5148c2e63de66da25ebdfdc10a54993daa1 (patch)
tree1bf81e535eaab8b218b318ad94adbfdc1a913d96 /config
parentbb5119adb615c5a4c88de6dfb85c49d8f1f90002 (diff)
raise authenticated api limit
Diffstat (limited to 'config')
-rw-r--r--config/initializers/rack_attack.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/rack_attack.rb b/config/initializers/rack_attack.rb
index d59c3722b..555421d55 100644
--- a/config/initializers/rack_attack.rb
+++ b/config/initializers/rack_attack.rb
@@ -53,7 +53,7 @@ class Rack::Attack
     req.remote_ip == '127.0.0.1' || req.remote_ip == '::1'
   end
 
-  throttle('throttle_authenticated_api', limit: 300, period: 5.minutes) do |req|
+  throttle('throttle_authenticated_api', limit: 666, period: 5.minutes) do |req|
     req.authenticated_user_id if req.api_request?
   end