We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55bb95e + ec07b07 commit db721ccCopy full SHA for db721cc
config/initializers/rack_attack.rb
@@ -27,7 +27,7 @@ class Rack::Attack
27
end
28
29
### Don't allow too many demo account requests ###
30
- throttle("demo_accounts/ip", limit: 10, period: 10.minutes) do |req|
+ throttle("demo_accounts/ip", limit: 50, period: 1.hour) do |req|
31
case req.path.downcase
32
when "/demo", "/try_farmbot"
33
req.ip
0 commit comments