about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-01-09 14:16:45 -0600
committerDavid Yip <yipdw@member.fsf.org>2018-01-09 14:16:45 -0600
commit991371af5f22ba85199f3f66bab5f70b404de95f (patch)
tree3e5652e1d90596c57b70d2afac72b17f183b8734 /config/initializers
parente780d5951b7eb743a718d9b34a46cd8fa5561636 (diff)
parent35b84985a8b9e57cfd3ffac8a0e3937d3c7a1167 (diff)
Merge remote-tracking branch 'origin/master' into merge-upstream
 Conflicts:
	db/schema.rb
Diffstat (limited to 'config/initializers')
-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 b38fb302b..b35452f04 100644
--- a/config/initializers/rack_attack.rb
+++ b/config/initializers/rack_attack.rb
@@ -53,7 +53,7 @@ class Rack::Attack
     req.ip if req.api_request?
   end
 
-  throttle('protected_paths', limit: 5, period: 5.minutes) do |req|
+  throttle('protected_paths', limit: 25, period: 5.minutes) do |req|
     req.ip if req.post? && req.path =~ PROTECTED_PATHS_REGEX
   end